Package org.apache.cassandra.db.marshal
Class TimeUUIDType
java.lang.Object
org.apache.cassandra.db.marshal.AbstractType<T>
org.apache.cassandra.db.marshal.TemporalType<T>
org.apache.cassandra.db.marshal.AbstractTimeUUIDType<TimeUUID>
org.apache.cassandra.db.marshal.TimeUUIDType
- All Implemented Interfaces:
Comparator<ByteBuffer>,AssignmentTestable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.cassandra.db.marshal.AbstractType
AbstractType.ComparisonType, AbstractType.DefaultArgumentDeserializerNested classes/interfaces inherited from interface org.apache.cassandra.cql3.AssignmentTestable
AssignmentTestable.TestResult -
Field Summary
FieldsFields inherited from class org.apache.cassandra.db.marshal.AbstractType
comparatorSet, comparisonType, isByteOrderComparable, reverseComparator -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.cassandra.db.marshal.AbstractTimeUUIDType
addDuration, allowsEmpty, asComparableBytes, asCQL3Type, compareCustom, decomposeUntyped, equals, fromComparableBytes, fromJSONObject, fromString, isEmptyValueMeaningless, now, reorderBackTimestampBytes, reorderTimestampBytes, signedBytesToNativeLong, substractDuration, toTimeInMillis, valueLengthIfFixedMethods inherited from class org.apache.cassandra.db.marshal.TemporalType
fromTimeInMillis, getArgumentDeserializer, validateDurationMethods inherited from class org.apache.cassandra.db.marshal.AbstractType
asComparableBytes, asCQLTypeStringList, checkComparable, compare, compare, compareCollectionMembers, compareForCQL, compose, compose, decompose, expandUserTypes, freeze, freezeNestedMulticellTypes, fromComparableBytes, getCompatibleTypeIfKnown, getComponents, getString, getString, getString, isCollection, isCompatibleWith, isCounter, isFreezable, isFrozenCollection, isMultiCell, isNull, isNull, isReversed, isSerializationCompatibleWith, isTuple, isUDT, isValueCompatibleWith, isValueCompatibleWithInternal, isValueLengthFixed, isVector, parseDefaultParameters, read, readArray, readBuffer, readBuffer, referencesDuration, referencesUserType, referencesUserType, skipValue, subTypes, testAssignment, testAssignment, toCQLString, toJSONString, toJSONString, toString, toString, unfreeze, unwrap, validate, validate, validateCellValue, validateCollectionMember, withUpdatedUserType, writeValue, writeValue, writtenLength, writtenLengthMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
instance
-
-
Constructor Details
-
TimeUUIDType
public TimeUUIDType()
-
-
Method Details
-
getSerializer
- Specified by:
getSerializerin classAbstractType<TimeUUID>
-
udfType
- Overrides:
udfTypein classAbstractType<TimeUUID>
-
getMaskedValue
- Overrides:
getMaskedValuein classAbstractType<TimeUUID>- Returns:
- A fixed, serialized value to be used when the column is masked, to be returned instead of the real value.
-