Package org.apache.hadoop.hbase.types
Class Union3<A,B,C>  
java.lang.Object
org.apache.hadoop.hbase.types.Union2<A,B>
 
org.apache.hadoop.hbase.types.Union3<A,B,C>  
- Direct Known Subclasses:
- Union4
The 
Union family of DataTypes encode one of a fixed collection of Objects. They
 provide convenience methods which handle type casting on your behalf.- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionRead an instance of the third type parameter from buffersrc.getOrder()Retrieve the sortOrderimposed by this data type, or null when natural ordering is not preserved.booleanIndicates whether this instance supports encoding null values.booleanIndicates whether this instance writes encodedbyte[]'s which preserve the natural sort order of the unencoded value.booleanIndicates whether this instance is able to skip over it's encoded value.Methods inherited from class org.apache.hadoop.hbase.types.Union2decodeA, decodeB, encodedClassMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.types.DataTypedecode, encode, encodedLength, skip
- 
Field Details- 
typeC
 
- 
- 
Constructor Details- 
Union3Create an instance ofUnion3over the set of specified types.
 
- 
- 
Method Details- 
isOrderPreservingDescription copied from interface:DataTypeIndicates whether this instance writes encodedbyte[]'s which preserve the natural sort order of the unencoded value.- Specified by:
- isOrderPreservingin interface- DataType<A>
- Overrides:
- isOrderPreservingin class- Union2<A,- B> 
- Returns:
- truewhen natural order is preserved,- falseotherwise.
 
- 
getOrderDescription copied from interface:DataTypeRetrieve the sortOrderimposed by this data type, or null when natural ordering is not preserved. Value is either ascending or descending. Default is assumed to beOrder.ASCENDING.
- 
isNullableDescription copied from interface:DataTypeIndicates whether this instance supports encoding null values. This depends on the implementation details of the encoding format. AllDataTypes that support null should treat null as comparing less than any non-null value for default sort ordering purposes.- Specified by:
- isNullablein interface- DataType<A>
- Overrides:
- isNullablein class- Union2<A,- B> 
- Returns:
- truewhen null is supported,- falseotherwise.
 
- 
isSkippableDescription copied from interface:DataTypeIndicates whether this instance is able to skip over it's encoded value.DataTypes that are not skippable can only be used as the right-most field of aStruct.- Specified by:
- isSkippablein interface- DataType<A>
- Overrides:
- isSkippablein class- Union2<A,- B> 
 
- 
decodeCRead an instance of the third type parameter from buffersrc.
 
-