public class HoodieRequestedReplaceMetadata
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
HoodieRequestedReplaceMetadata.Builder
RecordBuilder for HoodieRequestedReplaceMetadata instances.
|
| Modifier and Type | Field and Description |
|---|---|
HoodieClusteringPlan |
clusteringPlan
Deprecated.
|
Map<String,String> |
extraMetadata
Deprecated.
|
String |
operationType
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
Integer |
version
Deprecated.
|
| Constructor and Description |
|---|
HoodieRequestedReplaceMetadata()
Default constructor.
|
HoodieRequestedReplaceMetadata(String operationType,
HoodieClusteringPlan clusteringPlan,
Map<String,String> extraMetadata,
Integer version)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.message.BinaryMessageDecoder<HoodieRequestedReplaceMetadata> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore. |
static HoodieRequestedReplaceMetadata |
fromByteBuffer(ByteBuffer b)
Deserializes a HoodieRequestedReplaceMetadata from a ByteBuffer.
|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
HoodieClusteringPlan |
getClusteringPlan()
Gets the value of the 'clusteringPlan' field.
|
static org.apache.avro.message.BinaryMessageDecoder<HoodieRequestedReplaceMetadata> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
Map<String,String> |
getExtraMetadata()
Gets the value of the 'extraMetadata' field.
|
String |
getOperationType()
Gets the value of the 'operationType' field.
|
org.apache.avro.Schema |
getSchema() |
Integer |
getVersion()
Gets the value of the 'version' field.
|
static HoodieRequestedReplaceMetadata.Builder |
newBuilder()
Creates a new HoodieRequestedReplaceMetadata RecordBuilder.
|
static HoodieRequestedReplaceMetadata.Builder |
newBuilder(HoodieRequestedReplaceMetadata.Builder other)
Creates a new HoodieRequestedReplaceMetadata RecordBuilder by copying an existing Builder.
|
static HoodieRequestedReplaceMetadata.Builder |
newBuilder(HoodieRequestedReplaceMetadata other)
Creates a new HoodieRequestedReplaceMetadata RecordBuilder by copying an existing HoodieRequestedReplaceMetadata instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setClusteringPlan(HoodieClusteringPlan value)
Sets the value of the 'clusteringPlan' field.
|
void |
setExtraMetadata(Map<String,String> value)
Sets the value of the 'extraMetadata' field.
|
void |
setOperationType(String value)
Sets the value of the 'operationType' field.
|
void |
setVersion(Integer value)
Sets the value of the 'version' field.
|
ByteBuffer |
toByteBuffer()
Serializes this HoodieRequestedReplaceMetadata to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public String operationType
@Deprecated public HoodieClusteringPlan clusteringPlan
@Deprecated public Map<String,String> extraMetadata
@Deprecated public Integer version
public HoodieRequestedReplaceMetadata()
newBuilder().public HoodieRequestedReplaceMetadata(String operationType, HoodieClusteringPlan clusteringPlan, Map<String,String> extraMetadata, Integer version)
operationType - The new value for operationTypeclusteringPlan - The new value for clusteringPlanextraMetadata - The new value for extraMetadataversion - The new value for versionpublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<HoodieRequestedReplaceMetadata> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<HoodieRequestedReplaceMetadata> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore.resolver - a SchemaStore used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOExceptionpublic static HoodieRequestedReplaceMetadata 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 getOperationType()
public void setOperationType(String value)
value - the value to set.public HoodieClusteringPlan getClusteringPlan()
public void setClusteringPlan(HoodieClusteringPlan value)
value - the value to set.public Map<String,String> getExtraMetadata()
public void setExtraMetadata(Map<String,String> value)
value - the value to set.public Integer getVersion()
public void setVersion(Integer value)
value - the value to set.public static HoodieRequestedReplaceMetadata.Builder newBuilder()
public static HoodieRequestedReplaceMetadata.Builder newBuilder(HoodieRequestedReplaceMetadata.Builder other)
other - The existing builder to copy.public static HoodieRequestedReplaceMetadata.Builder newBuilder(HoodieRequestedReplaceMetadata 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.