public class HoodieArchivedMetaEntry
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
HoodieArchivedMetaEntry.Builder
RecordBuilder for HoodieArchivedMetaEntry instances.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
HoodieArchivedMetaEntry()
Default constructor.
|
HoodieArchivedMetaEntry(HoodieCommitMetadata hoodieCommitMetadata,
HoodieCleanMetadata hoodieCleanMetadata,
HoodieCompactionMetadata hoodieCompactionMetadata,
HoodieRollbackMetadata hoodieRollbackMetadata,
HoodieSavepointMetadata hoodieSavePointMetadata,
String commitTime,
String actionType,
Integer version,
HoodieCompactionPlan hoodieCompactionPlan,
HoodieCleanerPlan hoodieCleanerPlan,
String actionState,
HoodieReplaceCommitMetadata hoodieReplaceCommitMetadata,
HoodieRequestedReplaceMetadata hoodieRequestedReplaceMetadata,
HoodieCommitMetadata HoodieInflightReplaceMetadata,
HoodieIndexCommitMetadata hoodieIndexCommitMetadata)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.message.BinaryMessageDecoder<HoodieArchivedMetaEntry> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore. |
void |
customDecode(org.apache.avro.io.ResolvingDecoder in) |
void |
customEncode(org.apache.avro.io.Encoder out) |
static HoodieArchivedMetaEntry |
fromByteBuffer(ByteBuffer b)
Deserializes a HoodieArchivedMetaEntry from a ByteBuffer.
|
Object |
get(int field$) |
String |
getActionState()
Gets the value of the 'actionState' field.
|
String |
getActionType()
Gets the value of the 'actionType' field.
|
static org.apache.avro.Schema |
getClassSchema() |
String |
getCommitTime()
Gets the value of the 'commitTime' field.
|
static org.apache.avro.message.BinaryMessageDecoder<HoodieArchivedMetaEntry> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
static org.apache.avro.message.BinaryMessageEncoder<HoodieArchivedMetaEntry> |
getEncoder()
Return the BinaryMessageEncoder instance used by this class.
|
HoodieCleanerPlan |
getHoodieCleanerPlan()
Gets the value of the 'hoodieCleanerPlan' field.
|
HoodieCleanMetadata |
getHoodieCleanMetadata()
Gets the value of the 'hoodieCleanMetadata' field.
|
HoodieCommitMetadata |
getHoodieCommitMetadata()
Gets the value of the 'hoodieCommitMetadata' field.
|
HoodieCompactionMetadata |
getHoodieCompactionMetadata()
Gets the value of the 'hoodieCompactionMetadata' field.
|
HoodieCompactionPlan |
getHoodieCompactionPlan()
Gets the value of the 'hoodieCompactionPlan' field.
|
HoodieIndexCommitMetadata |
getHoodieIndexCommitMetadata()
Gets the value of the 'hoodieIndexCommitMetadata' field.
|
HoodieCommitMetadata |
getHoodieInflightReplaceMetadata()
Gets the value of the 'HoodieInflightReplaceMetadata' field.
|
HoodieReplaceCommitMetadata |
getHoodieReplaceCommitMetadata()
Gets the value of the 'hoodieReplaceCommitMetadata' field.
|
HoodieRequestedReplaceMetadata |
getHoodieRequestedReplaceMetadata()
Gets the value of the 'hoodieRequestedReplaceMetadata' field.
|
HoodieRollbackMetadata |
getHoodieRollbackMetadata()
Gets the value of the 'hoodieRollbackMetadata' field.
|
HoodieSavepointMetadata |
getHoodieSavePointMetadata()
Gets the value of the 'hoodieSavePointMetadata' field.
|
org.apache.avro.Schema |
getSchema() |
org.apache.avro.specific.SpecificData |
getSpecificData() |
Integer |
getVersion()
Gets the value of the 'version' field.
|
protected boolean |
hasCustomCoders() |
static HoodieArchivedMetaEntry.Builder |
newBuilder()
Creates a new HoodieArchivedMetaEntry RecordBuilder.
|
static HoodieArchivedMetaEntry.Builder |
newBuilder(HoodieArchivedMetaEntry.Builder other)
Creates a new HoodieArchivedMetaEntry RecordBuilder by copying an existing Builder.
|
static HoodieArchivedMetaEntry.Builder |
newBuilder(HoodieArchivedMetaEntry other)
Creates a new HoodieArchivedMetaEntry RecordBuilder by copying an existing HoodieArchivedMetaEntry instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setActionState(String value)
Sets the value of the 'actionState' field.
|
void |
setActionType(String value)
Sets the value of the 'actionType' field.
|
void |
setCommitTime(String value)
Sets the value of the 'commitTime' field.
|
void |
setHoodieCleanerPlan(HoodieCleanerPlan value)
Sets the value of the 'hoodieCleanerPlan' field.
|
void |
setHoodieCleanMetadata(HoodieCleanMetadata value)
Sets the value of the 'hoodieCleanMetadata' field.
|
void |
setHoodieCommitMetadata(HoodieCommitMetadata value)
Sets the value of the 'hoodieCommitMetadata' field.
|
void |
setHoodieCompactionMetadata(HoodieCompactionMetadata value)
Sets the value of the 'hoodieCompactionMetadata' field.
|
void |
setHoodieCompactionPlan(HoodieCompactionPlan value)
Sets the value of the 'hoodieCompactionPlan' field.
|
void |
setHoodieIndexCommitMetadata(HoodieIndexCommitMetadata value)
Sets the value of the 'hoodieIndexCommitMetadata' field.
|
void |
setHoodieInflightReplaceMetadata(HoodieCommitMetadata value)
Sets the value of the 'HoodieInflightReplaceMetadata' field.
|
void |
setHoodieReplaceCommitMetadata(HoodieReplaceCommitMetadata value)
Sets the value of the 'hoodieReplaceCommitMetadata' field.
|
void |
setHoodieRequestedReplaceMetadata(HoodieRequestedReplaceMetadata value)
Sets the value of the 'hoodieRequestedReplaceMetadata' field.
|
void |
setHoodieRollbackMetadata(HoodieRollbackMetadata value)
Sets the value of the 'hoodieRollbackMetadata' field.
|
void |
setHoodieSavePointMetadata(HoodieSavepointMetadata value)
Sets the value of the 'hoodieSavePointMetadata' field.
|
void |
setVersion(Integer value)
Sets the value of the 'version' field.
|
ByteBuffer |
toByteBuffer()
Serializes this HoodieArchivedMetaEntry to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
compareTo, equals, get, getConversion, getConversion, hashCode, put, toStringpublic HoodieArchivedMetaEntry()
newBuilder().public HoodieArchivedMetaEntry(HoodieCommitMetadata hoodieCommitMetadata, HoodieCleanMetadata hoodieCleanMetadata, HoodieCompactionMetadata hoodieCompactionMetadata, HoodieRollbackMetadata hoodieRollbackMetadata, HoodieSavepointMetadata hoodieSavePointMetadata, String commitTime, String actionType, Integer version, HoodieCompactionPlan hoodieCompactionPlan, HoodieCleanerPlan hoodieCleanerPlan, String actionState, HoodieReplaceCommitMetadata hoodieReplaceCommitMetadata, HoodieRequestedReplaceMetadata hoodieRequestedReplaceMetadata, HoodieCommitMetadata HoodieInflightReplaceMetadata, HoodieIndexCommitMetadata hoodieIndexCommitMetadata)
hoodieCommitMetadata - The new value for hoodieCommitMetadatahoodieCleanMetadata - The new value for hoodieCleanMetadatahoodieCompactionMetadata - The new value for hoodieCompactionMetadatahoodieRollbackMetadata - The new value for hoodieRollbackMetadatahoodieSavePointMetadata - The new value for hoodieSavePointMetadatacommitTime - The new value for commitTimeactionType - The new value for actionTypeversion - The new value for versionhoodieCompactionPlan - The new value for hoodieCompactionPlanhoodieCleanerPlan - The new value for hoodieCleanerPlanactionState - The new value for actionStatehoodieReplaceCommitMetadata - The new value for hoodieReplaceCommitMetadatahoodieRequestedReplaceMetadata - The new value for hoodieRequestedReplaceMetadataHoodieInflightReplaceMetadata - The new value for HoodieInflightReplaceMetadatahoodieIndexCommitMetadata - The new value for hoodieIndexCommitMetadatapublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageEncoder<HoodieArchivedMetaEntry> getEncoder()
public static org.apache.avro.message.BinaryMessageDecoder<HoodieArchivedMetaEntry> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<HoodieArchivedMetaEntry> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore.resolver - a SchemaStore used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOException - if this instance could not be serializedpublic static HoodieArchivedMetaEntry fromByteBuffer(ByteBuffer b) throws IOException
b - a byte buffer holding serialized data for an instance of this classIOException - if the given bytes could not be deserialized into an instance of this classpublic org.apache.avro.specific.SpecificData getSpecificData()
getSpecificData in class org.apache.avro.specific.SpecificRecordBasepublic 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 HoodieCommitMetadata getHoodieCommitMetadata()
public void setHoodieCommitMetadata(HoodieCommitMetadata value)
value - the value to set.public HoodieCleanMetadata getHoodieCleanMetadata()
public void setHoodieCleanMetadata(HoodieCleanMetadata value)
value - the value to set.public HoodieCompactionMetadata getHoodieCompactionMetadata()
public void setHoodieCompactionMetadata(HoodieCompactionMetadata value)
value - the value to set.public HoodieRollbackMetadata getHoodieRollbackMetadata()
public void setHoodieRollbackMetadata(HoodieRollbackMetadata value)
value - the value to set.public HoodieSavepointMetadata getHoodieSavePointMetadata()
public void setHoodieSavePointMetadata(HoodieSavepointMetadata value)
value - the value to set.public String getCommitTime()
public void setCommitTime(String value)
value - the value to set.public String getActionType()
public void setActionType(String value)
value - the value to set.public Integer getVersion()
public void setVersion(Integer value)
value - the value to set.public HoodieCompactionPlan getHoodieCompactionPlan()
public void setHoodieCompactionPlan(HoodieCompactionPlan value)
value - the value to set.public HoodieCleanerPlan getHoodieCleanerPlan()
public void setHoodieCleanerPlan(HoodieCleanerPlan value)
value - the value to set.public String getActionState()
public void setActionState(String value)
value - the value to set.public HoodieReplaceCommitMetadata getHoodieReplaceCommitMetadata()
public void setHoodieReplaceCommitMetadata(HoodieReplaceCommitMetadata value)
value - the value to set.public HoodieRequestedReplaceMetadata getHoodieRequestedReplaceMetadata()
public void setHoodieRequestedReplaceMetadata(HoodieRequestedReplaceMetadata value)
value - the value to set.public HoodieCommitMetadata getHoodieInflightReplaceMetadata()
public void setHoodieInflightReplaceMetadata(HoodieCommitMetadata value)
value - the value to set.public HoodieIndexCommitMetadata getHoodieIndexCommitMetadata()
public void setHoodieIndexCommitMetadata(HoodieIndexCommitMetadata value)
value - the value to set.public static HoodieArchivedMetaEntry.Builder newBuilder()
public static HoodieArchivedMetaEntry.Builder newBuilder(HoodieArchivedMetaEntry.Builder other)
other - The existing builder to copy.public static HoodieArchivedMetaEntry.Builder newBuilder(HoodieArchivedMetaEntry 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.SpecificRecordBaseIOExceptionprotected boolean hasCustomCoders()
hasCustomCoders in class org.apache.avro.specific.SpecificRecordBasepublic void customEncode(org.apache.avro.io.Encoder out)
throws IOException
customEncode in class org.apache.avro.specific.SpecificRecordBaseIOExceptionpublic void customDecode(org.apache.avro.io.ResolvingDecoder in)
throws IOException
customDecode in class org.apache.avro.specific.SpecificRecordBaseIOExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.