public static class Constants.Literal extends java.lang.Object implements Term.Raw
AssignmentTestable.TestResult| Modifier and Type | Method and Description |
|---|---|
static Constants.Literal |
bool(java.lang.String text) |
static Constants.Literal |
floatingPoint(java.lang.String text) |
java.lang.String |
getRawText() |
static Constants.Literal |
hex(java.lang.String text) |
static Constants.Literal |
integer(java.lang.String text) |
Constants.Value |
prepare(java.lang.String keyspace,
ColumnSpecification receiver)
This method validates this RawTerm is valid for provided column
specification and "prepare" this RawTerm, returning the resulting
prepared Term.
|
static Constants.Literal |
string(java.lang.String text) |
AssignmentTestable.TestResult |
testAssignment(java.lang.String keyspace,
ColumnSpecification receiver) |
java.lang.String |
toString() |
static Constants.Literal |
uuid(java.lang.String text) |
public static Constants.Literal string(java.lang.String text)
public static Constants.Literal integer(java.lang.String text)
public static Constants.Literal floatingPoint(java.lang.String text)
public static Constants.Literal uuid(java.lang.String text)
public static Constants.Literal bool(java.lang.String text)
public static Constants.Literal hex(java.lang.String text)
public Constants.Value prepare(java.lang.String keyspace, ColumnSpecification receiver) throws InvalidRequestException
Term.Rawprepare in interface Term.Rawreceiver - the "column" this RawTerm is supposed to be a value of. Note
that the ColumnSpecification may not correspond to a real column in the
case this RawTerm describe a list index or a map key, etc...InvalidRequestExceptionpublic java.lang.String getRawText()
public AssignmentTestable.TestResult testAssignment(java.lang.String keyspace, ColumnSpecification receiver)
testAssignment in interface AssignmentTestablepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015 The Apache Software Foundation