public abstract class HoodieIndexID extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
HoodieIndexID.Type
Supported ID types.
|
| Constructor and Description |
|---|
HoodieIndexID() |
| Modifier and Type | Method and Description |
|---|---|
String |
asBase64EncodedString()
Get the Base64 encoded version of the ID.
|
abstract byte[] |
asBytes()
Get this ID as a byte array.
|
abstract int |
bits()
Get the number of bits representing this ID in memory.
|
abstract String |
getName()
Get the resource name for which this index id is generated.
|
protected abstract HoodieIndexID.Type |
getType()
Get the ID type.
|
boolean |
isColumnID()
Is this ID a ColumnID type ?
|
boolean |
isFileID()
Is this ID a FileID type ?
|
boolean |
isPartition()
Is this ID a Partition type ?
|
abstract String |
toString()
Get the String version of this ID.
|
public abstract String getName()
public abstract int bits()
Note: Will be in multiples of 8 only.
public abstract byte[] asBytes()
public abstract String toString()
public String asBase64EncodedString()
protected abstract HoodieIndexID.Type getType()
public final boolean isColumnID()
public final boolean isPartition()
public final boolean isFileID()
Copyright © 2024 The Apache Software Foundation. All rights reserved.