public class HoodieCompactionOperation
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
HoodieCompactionOperation.Builder
RecordBuilder for HoodieCompactionOperation instances.
|
| Modifier and Type | Field and Description |
|---|---|
String |
baseInstantTime
Deprecated.
|
String |
bootstrapFilePath
Deprecated.
|
String |
dataFilePath
Deprecated.
|
List<String> |
deltaFilePaths
Deprecated.
|
String |
fileId
Deprecated.
|
Map<String,Double> |
metrics
Deprecated.
|
String |
partitionPath
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
HoodieCompactionOperation()
Default constructor.
|
HoodieCompactionOperation(String baseInstantTime,
List<String> deltaFilePaths,
String dataFilePath,
String fileId,
String partitionPath,
Map<String,Double> metrics,
String bootstrapFilePath)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.message.BinaryMessageDecoder<HoodieCompactionOperation> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore. |
static HoodieCompactionOperation |
fromByteBuffer(ByteBuffer b)
Deserializes a HoodieCompactionOperation from a ByteBuffer.
|
Object |
get(int field$) |
String |
getBaseInstantTime()
Gets the value of the 'baseInstantTime' 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<HoodieCompactionOperation> |
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.
|
Map<String,Double> |
getMetrics()
Gets the value of the 'metrics' field.
|
String |
getPartitionPath()
Gets the value of the 'partitionPath' field.
|
org.apache.avro.Schema |
getSchema() |
static HoodieCompactionOperation.Builder |
newBuilder()
Creates a new HoodieCompactionOperation RecordBuilder.
|
static HoodieCompactionOperation.Builder |
newBuilder(HoodieCompactionOperation.Builder other)
Creates a new HoodieCompactionOperation RecordBuilder by copying an existing Builder.
|
static HoodieCompactionOperation.Builder |
newBuilder(HoodieCompactionOperation other)
Creates a new HoodieCompactionOperation RecordBuilder by copying an existing HoodieCompactionOperation instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setBaseInstantTime(String value)
Sets the value of the 'baseInstantTime' field.
|
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 |
setMetrics(Map<String,Double> value)
Sets the value of the 'metrics' field.
|
void |
setPartitionPath(String value)
Sets the value of the 'partitionPath' field.
|
ByteBuffer |
toByteBuffer()
Serializes this HoodieCompactionOperation to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public String baseInstantTime
@Deprecated public List<String> deltaFilePaths
@Deprecated public String dataFilePath
@Deprecated public String fileId
@Deprecated public String partitionPath
@Deprecated public Map<String,Double> metrics
@Deprecated public String bootstrapFilePath
public HoodieCompactionOperation()
newBuilder().public HoodieCompactionOperation(String baseInstantTime, List<String> deltaFilePaths, String dataFilePath, String fileId, String partitionPath, Map<String,Double> metrics, String bootstrapFilePath)
baseInstantTime - The new value for baseInstantTimedeltaFilePaths - The new value for deltaFilePathsdataFilePath - The new value for dataFilePathfileId - The new value for fileIdpartitionPath - The new value for partitionPathmetrics - The new value for metricsbootstrapFilePath - The new value for bootstrapFilePathpublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<HoodieCompactionOperation> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<HoodieCompactionOperation> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore.resolver - a SchemaStore used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOExceptionpublic static HoodieCompactionOperation 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 getBaseInstantTime()
public void setBaseInstantTime(String value)
value - the value to set.public List<String> getDeltaFilePaths()
public void setDeltaFilePaths(List<String> value)
value - the value to set.public String getDataFilePath()
public void setDataFilePath(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 Map<String,Double> getMetrics()
public void setMetrics(Map<String,Double> value)
value - the value to set.public String getBootstrapFilePath()
public void setBootstrapFilePath(String value)
value - the value to set.public static HoodieCompactionOperation.Builder newBuilder()
public static HoodieCompactionOperation.Builder newBuilder(HoodieCompactionOperation.Builder other)
other - The existing builder to copy.public static HoodieCompactionOperation.Builder newBuilder(HoodieCompactionOperation 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.