public class HoodieSliceInfo
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
HoodieSliceInfo.Builder
RecordBuilder for HoodieSliceInfo instances.
|
| Modifier and Type | Field and Description |
|---|---|
String |
bootstrapFilePath
Deprecated.
|
String |
dataFilePath
Deprecated.
|
List<String> |
deltaFilePaths
Deprecated.
|
String |
fileId
Deprecated.
|
String |
partitionPath
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
Integer |
version
Deprecated.
|
| Constructor and Description |
|---|
HoodieSliceInfo()
Default constructor.
|
HoodieSliceInfo(String dataFilePath,
List<String> deltaFilePaths,
String fileId,
String partitionPath,
String bootstrapFilePath,
Integer version)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.message.BinaryMessageDecoder<HoodieSliceInfo> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore. |
static HoodieSliceInfo |
fromByteBuffer(ByteBuffer b)
Deserializes a HoodieSliceInfo from a ByteBuffer.
|
Object |
get(int field$) |
String |
getBootstrapFilePath()
Gets the value of the 'bootstrapFilePath' field.
|
static org.apache.avro.Schema |
getClassSchema() |
String |
getDataFilePath()
Gets the value of the 'dataFilePath' field.
|
static org.apache.avro.message.BinaryMessageDecoder<HoodieSliceInfo> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
List<String> |
getDeltaFilePaths()
Gets the value of the 'deltaFilePaths' field.
|
String |
getFileId()
Gets the value of the 'fileId' field.
|
String |
getPartitionPath()
Gets the value of the 'partitionPath' field.
|
org.apache.avro.Schema |
getSchema() |
Integer |
getVersion()
Gets the value of the 'version' field.
|
static HoodieSliceInfo.Builder |
newBuilder()
Creates a new HoodieSliceInfo RecordBuilder.
|
static HoodieSliceInfo.Builder |
newBuilder(HoodieSliceInfo.Builder other)
Creates a new HoodieSliceInfo RecordBuilder by copying an existing Builder.
|
static HoodieSliceInfo.Builder |
newBuilder(HoodieSliceInfo other)
Creates a new HoodieSliceInfo RecordBuilder by copying an existing HoodieSliceInfo instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setBootstrapFilePath(String value)
Sets the value of the 'bootstrapFilePath' field.
|
void |
setDataFilePath(String value)
Sets the value of the 'dataFilePath' field.
|
void |
setDeltaFilePaths(List<String> value)
Sets the value of the 'deltaFilePaths' field.
|
void |
setFileId(String value)
Sets the value of the 'fileId' field.
|
void |
setPartitionPath(String value)
Sets the value of the 'partitionPath' field.
|
void |
setVersion(Integer value)
Sets the value of the 'version' field.
|
ByteBuffer |
toByteBuffer()
Serializes this HoodieSliceInfo to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public String dataFilePath
@Deprecated public List<String> deltaFilePaths
@Deprecated public String fileId
@Deprecated public String partitionPath
@Deprecated public String bootstrapFilePath
@Deprecated public Integer version
public HoodieSliceInfo()
newBuilder().public HoodieSliceInfo(String dataFilePath, List<String> deltaFilePaths, String fileId, String partitionPath, String bootstrapFilePath, Integer version)
dataFilePath - The new value for dataFilePathdeltaFilePaths - The new value for deltaFilePathsfileId - The new value for fileIdpartitionPath - The new value for partitionPathbootstrapFilePath - The new value for bootstrapFilePathversion - The new value for versionpublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<HoodieSliceInfo> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<HoodieSliceInfo> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore.resolver - a SchemaStore used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOExceptionpublic static HoodieSliceInfo fromByteBuffer(ByteBuffer b) throws IOException
IOExceptionpublic org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$,
Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic String getDataFilePath()
public void setDataFilePath(String value)
value - the value to set.public List<String> getDeltaFilePaths()
public void setDeltaFilePaths(List<String> value)
value - the value to set.public String getFileId()
public void setFileId(String value)
value - the value to set.public String getPartitionPath()
public void setPartitionPath(String value)
value - the value to set.public String getBootstrapFilePath()
public void setBootstrapFilePath(String value)
value - the value to set.public Integer getVersion()
public void setVersion(Integer value)
value - the value to set.public static HoodieSliceInfo.Builder newBuilder()
public static HoodieSliceInfo.Builder newBuilder(HoodieSliceInfo.Builder other)
other - The existing builder to copy.public static HoodieSliceInfo.Builder newBuilder(HoodieSliceInfo other)
other - The existing instance to copy.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class org.apache.avro.specific.SpecificRecordBaseIOExceptionpublic void readExternal(ObjectInput in) throws IOException
readExternal in interface ExternalizablereadExternal in class org.apache.avro.specific.SpecificRecordBaseIOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.