public class ColumnIndexID extends HoodieIndexID
HoodieIndexID.Type| Modifier and Type | Field and Description |
|---|---|
static HashID.Size |
ID_COLUMN_HASH_SIZE |
| Constructor and Description |
|---|
ColumnIndexID(String column) |
| Modifier and Type | Method and Description |
|---|---|
String |
asBase64EncodedString()
Get the Base64 encoded version of the ID.
|
byte[] |
asBytes()
Get this ID as a byte array.
|
int |
bits()
Get the number of bits representing this ID in memory.
|
String |
getName()
Get the resource name for which this index id is generated.
|
protected HoodieIndexID.Type |
getType()
Get the ID type.
|
String |
toString()
Get the String version of this ID.
|
isColumnID, isFileID, isPartitionpublic static final HashID.Size ID_COLUMN_HASH_SIZE
public ColumnIndexID(String column)
public String getName()
HoodieIndexIDgetName in class HoodieIndexIDpublic int bits()
HoodieIndexIDNote: Will be in multiples of 8 only.
bits in class HoodieIndexIDpublic byte[] asBytes()
HoodieIndexIDasBytes in class HoodieIndexIDpublic String asBase64EncodedString()
HoodieIndexIDasBase64EncodedString in class HoodieIndexIDpublic String toString()
HoodieIndexIDtoString in class HoodieIndexIDprotected HoodieIndexID.Type getType()
HoodieIndexIDgetType in class HoodieIndexIDCopyright © 2024 The Apache Software Foundation. All rights reserved.