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