Package org.apache.cassandra.cql3
Class Attributes
java.lang.Object
org.apache.cassandra.cql3.Attributes
Utility class for the Parser to gather attributes for modification
statements.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIf this limit is ever raised, make sure @Integer.MAX_VALUEis not allowed, as this is used as a flag to represent expired liveness. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFunctionsTo(List<Function> functions) voidcollectMarkerSpecification(VariableSpecifications boundNames) longgetTimestamp(long now, QueryOptions options) intgetTimeToLive(QueryOptions options, TableMetadata metadata) booleanbooleanstatic Attributesnone()toString()
-
Field Details
-
MAX_TTL
public static final int MAX_TTLIf this limit is ever raised, make sure @Integer.MAX_VALUEis not allowed, as this is used as a flag to represent expired liveness. SeeLivenessInfo.EXPIRED_LIVENESS_TTL- See Also:
-
-
Method Details
-
none
-
addFunctionsTo
-
isTimestampSet
public boolean isTimestampSet() -
isTimeToLiveSet
public boolean isTimeToLiveSet() -
getTimestamp
- Throws:
InvalidRequestException
-
getTimeToLive
public int getTimeToLive(QueryOptions options, TableMetadata metadata) throws InvalidRequestException - Throws:
InvalidRequestException
-
collectMarkerSpecification
-
toString
-