Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/**
* Autogenerated by Avro
*
* DO NOT EDIT DIRECTLY
*/
package org.apache.hudi.avro.model;
import org.apache.avro.specific.SpecificData;
import org.apache.avro.message.BinaryMessageEncoder;
import org.apache.avro.message.BinaryMessageDecoder;
import org.apache.avro.message.SchemaStore;
@SuppressWarnings("all")
@org.apache.avro.specific.AvroGenerated
public class HoodieArchivedMetaEntry extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord {
private static final long serialVersionUID = 1414031801717720195L;
public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"HoodieArchivedMetaEntry\",\"namespace\":\"org.apache.hudi.avro.model\",\"fields\":[{\"name\":\"hoodieCommitMetadata\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"HoodieCommitMetadata\",\"fields\":[{\"name\":\"partitionToWriteStats\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"HoodieWriteStat\",\"fields\":[{\"name\":\"fileId\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"path\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"prevCommit\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"numWrites\",\"type\":[\"null\",\"long\"],\"default\":null},{\"name\":\"numDeletes\",\"type\":[\"null\",\"long\"],\"default\":null},{\"name\":\"numUpdateWrites\",\"type\":[\"null\",\"long\"],\"default\":null},{\"name\":\"totalWriteBytes\",\"type\":[\"null\",\"long\"],\"default\":null},{\"name\":\"totalWriteErrors\",\"type\":[\"null\",\"long\"],\"default\":null},{\"name\":\"partitionPath\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"totalLogRecords\",\"type\":[\"null\",\"long\"],\"default\":null},{\"name\":\"totalLogFiles\",\"type\":[\"null\",\"long\"],\"default\":null},{\"name\":\"totalUpdatedRecordsCompacted\",\"type\":[\"null\",\"long\"],\"default\":null},{\"name\":\"numInserts\",\"type\":[\"null\",\"long\"],\"default\":null},{\"name\":\"totalLogBlocks\",\"type\":[\"null\",\"long\"],\"default\":null},{\"name\":\"totalCorruptLogBlock\",\"type\":[\"null\",\"long\"],\"default\":null},{\"name\":\"totalRollbackBlocks\",\"type\":[\"null\",\"long\"],\"default\":null},{\"name\":\"fileSizeInBytes\",\"type\":[\"null\",\"long\"],\"default\":null}]}},\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"extraMetadata\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\",\"default\":null}],\"default\":null},{\"name\":\"version\",\"type\":[\"int\",\"null\"],\"default\":1},{\"name\":\"operationType\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null}]}],\"default\":null},{\"name\":\"hoodieCleanMetadata\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"HoodieCleanMetadata\",\"fields\":[{\"name\":\"startCleanTime\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"timeTakenInMillis\",\"type\":\"long\"},{\"name\":\"totalFilesDeleted\",\"type\":\"int\"},{\"name\":\"earliestCommitToRetain\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"lastCompletedCommitTimestamp\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"default\":\"\"},{\"name\":\"partitionMetadata\",\"type\":{\"type\":\"map\",\"values\":{\"type\":\"record\",\"name\":\"HoodieCleanPartitionMetadata\",\"fields\":[{\"name\":\"partitionPath\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"policy\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"deletePathPatterns\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}},{\"name\":\"successDeleteFiles\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}},{\"name\":\"failedDeleteFiles\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}},{\"name\":\"isPartitionDeleted\",\"type\":[\"null\",\"boolean\"],\"default\":null}]},\"avro.java.string\":\"String\"}},{\"name\":\"version\",\"type\":[\"int\",\"null\"],\"default\":1},{\"name\":\"bootstrapPartitionMetadata\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"HoodieCleanPartitionMetadata\",\"avro.java.string\":\"String\",\"default\":null}],\"default\":null}]}],\"default\":null},{\"name\":\"hoodieCompactionMetadata\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"HoodieCompactionMetadata\",\"fields\":[{\"name\":\"partitionToCompactionWriteStats\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"HoodieCompactionWriteStat\",\"fields\":[{\"name\":\"partitionPath\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"totalLogRecords\",\"type\":[\"null\",\"long\"],\"default\":null},{\"name\":\"totalLogFiles\",\"type\":[\"null\",\"long\"],\"default\":null},{\"name\":\"totalUpdatedRecordsCompacted\",\"type\":[\"null\",\"long\"],\"default\":null},{\"name\":\"hoodieWriteStat\",\"type\":[\"null\",\"HoodieWriteStat\"],\"default\":null}]}},\"avro.java.string\":\"String\"}]}]}],\"default\":null},{\"name\":\"hoodieRollbackMetadata\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"HoodieRollbackMetadata\",\"fields\":[{\"name\":\"startRollbackTime\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"timeTakenInMillis\",\"type\":\"long\"},{\"name\":\"totalFilesDeleted\",\"type\":\"int\"},{\"name\":\"commitsRollback\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}},{\"name\":\"partitionMetadata\",\"type\":{\"type\":\"map\",\"values\":{\"type\":\"record\",\"name\":\"HoodieRollbackPartitionMetadata\",\"fields\":[{\"name\":\"partitionPath\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"successDeleteFiles\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}},{\"name\":\"failedDeleteFiles\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}},{\"name\":\"rollbackLogFiles\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"long\",\"avro.java.string\":\"String\"}],\"default\":null}]},\"avro.java.string\":\"String\"}},{\"name\":\"version\",\"type\":[\"int\",\"null\"],\"default\":1},{\"name\":\"instantsRollback\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"HoodieInstantInfo\",\"fields\":[{\"name\":\"commitTime\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"action\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}]},\"default\":[]},\"default\":[]}]}],\"default\":null},{\"name\":\"hoodieSavePointMetadata\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"HoodieSavepointMetadata\",\"fields\":[{\"name\":\"savepointedBy\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"savepointedAt\",\"type\":\"long\"},{\"name\":\"comments\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"partitionMetadata\",\"type\":{\"type\":\"map\",\"values\":{\"type\":\"record\",\"name\":\"HoodieSavepointPartitionMetadata\",\"fields\":[{\"name\":\"partitionPath\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"savepointDataFile\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}}]},\"avro.java.string\":\"String\"}},{\"name\":\"version\",\"type\":[\"int\",\"null\"],\"default\":1}]}],\"default\":null},{\"name\":\"commitTime\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"actionType\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"version\",\"type\":[\"int\",\"null\"],\"default\":1},{\"name\":\"hoodieCompactionPlan\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"HoodieCompactionPlan\",\"fields\":[{\"name\":\"operations\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"HoodieCompactionOperation\",\"fields\":[{\"name\":\"baseInstantTime\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"deltaFilePaths\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"default\":null},{\"name\":\"dataFilePath\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"fileId\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"partitionPath\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"metrics\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"double\",\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"bootstrapFilePath\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null}]}}],\"default\":null},{\"name\":\"extraMetadata\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"version\",\"type\":[\"int\",\"null\"],\"default\":1}]}],\"default\":null},{\"name\":\"hoodieCleanerPlan\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"HoodieCleanerPlan\",\"fields\":[{\"name\":\"earliestInstantToRetain\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"HoodieActionInstant\",\"fields\":[{\"name\":\"timestamp\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"action\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"state\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}]}],\"default\":null},{\"name\":\"lastCompletedCommitTimestamp\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"default\":\"\"},{\"name\":\"policy\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"filesToBeDeletedPer","Partition\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"version\",\"type\":[\"int\",\"null\"],\"default\":1},{\"name\":\"filePathsToBeDeletedPerPartition\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"HoodieCleanFileInfo\",\"fields\":[{\"name\":\"filePath\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"isBootstrapBaseFile\",\"type\":[\"null\",\"boolean\"],\"default\":null}]}},\"avro.java.string\":\"String\"}],\"doc\":\"This field replaces the field filesToBeDeletedPerPartition\",\"default\":null},{\"name\":\"partitionsToBeDeleted\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"partitions to be deleted\",\"default\":null}]}],\"default\":null},{\"name\":\"actionState\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"hoodieReplaceCommitMetadata\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"HoodieReplaceCommitMetadata\",\"fields\":[{\"name\":\"partitionToWriteStats\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"array\",\"items\":\"HoodieWriteStat\"},\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"extraMetadata\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"version\",\"type\":[\"int\",\"null\"],\"default\":1},{\"name\":\"operationType\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"partitionToReplaceFileIds\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},\"avro.java.string\":\"String\"}],\"default\":null}]}],\"default\":null},{\"name\":\"hoodieRequestedReplaceMetadata\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"HoodieRequestedReplaceMetadata\",\"fields\":[{\"name\":\"operationType\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"clusteringPlan\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"HoodieClusteringPlan\",\"fields\":[{\"name\":\"inputGroups\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"HoodieClusteringGroup\",\"fields\":[{\"name\":\"slices\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"HoodieSliceInfo\",\"fields\":[{\"name\":\"dataFilePath\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"deltaFilePaths\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"default\":null},{\"name\":\"fileId\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"partitionPath\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"bootstrapFilePath\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"version\",\"type\":[\"int\",\"null\"],\"default\":1}]}}],\"default\":null},{\"name\":\"metrics\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"double\",\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"numOutputFileGroups\",\"type\":[\"int\",\"null\"],\"default\":1},{\"name\":\"extraMetadata\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"version\",\"type\":[\"int\",\"null\"],\"default\":1}]}}],\"default\":null},{\"name\":\"strategy\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"HoodieClusteringStrategy\",\"fields\":[{\"name\":\"strategyClassName\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"strategyParams\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"version\",\"type\":[\"int\",\"null\"],\"default\":1}]}],\"default\":null},{\"name\":\"extraMetadata\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"version\",\"type\":[\"int\",\"null\"],\"default\":1},{\"name\":\"preserveHoodieMetadata\",\"type\":[\"null\",\"boolean\"],\"default\":null}]}],\"default\":null},{\"name\":\"extraMetadata\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"version\",\"type\":[\"int\",\"null\"],\"default\":1}]}],\"default\":null},{\"name\":\"HoodieInflightReplaceMetadata\",\"type\":[\"null\",\"HoodieCommitMetadata\"],\"default\":null},{\"name\":\"hoodieIndexCommitMetadata\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"HoodieIndexCommitMetadata\",\"fields\":[{\"name\":\"version\",\"type\":[\"int\",\"null\"],\"doc\":\"This field replaces the field filesToBeDeletedPerPartition\",\"default\":1},{\"name\":\"operationType\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"This field replaces the field filesToBeDeletedPerPartition\",\"default\":null},{\"name\":\"indexPartitionInfos\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"HoodieIndexPartitionInfo\",\"fields\":[{\"name\":\"version\",\"type\":[\"int\",\"null\"],\"default\":1},{\"name\":\"metadataPartitionPath\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null},{\"name\":\"indexUptoInstant\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"default\":null}]}}],\"doc\":\"This field contains the info for each partition that got indexed\",\"default\":null}]}],\"default\":null}]}");
public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; }
private static SpecificData MODEL$ = new SpecificData();
private static final BinaryMessageEncoder ENCODER =
new BinaryMessageEncoder(MODEL$, SCHEMA$);
private static final BinaryMessageDecoder DECODER =
new BinaryMessageDecoder(MODEL$, SCHEMA$);
/**
* Return the BinaryMessageDecoder instance used by this class.
*/
public static BinaryMessageDecoder getDecoder() {
return DECODER;
}
/**
* Create a new BinaryMessageDecoder instance for this class that uses the specified {@link SchemaStore}.
* @param resolver a {@link SchemaStore} used to find schemas by fingerprint
*/
public static BinaryMessageDecoder createDecoder(SchemaStore resolver) {
return new BinaryMessageDecoder(MODEL$, SCHEMA$, resolver);
}
/** Serializes this HoodieArchivedMetaEntry to a ByteBuffer. */
public java.nio.ByteBuffer toByteBuffer() throws java.io.IOException {
return ENCODER.encode(this);
}
/** Deserializes a HoodieArchivedMetaEntry from a ByteBuffer. */
public static HoodieArchivedMetaEntry fromByteBuffer(
java.nio.ByteBuffer b) throws java.io.IOException {
return DECODER.decode(b);
}
@Deprecated public org.apache.hudi.avro.model.HoodieCommitMetadata hoodieCommitMetadata;
@Deprecated public org.apache.hudi.avro.model.HoodieCleanMetadata hoodieCleanMetadata;
@Deprecated public org.apache.hudi.avro.model.HoodieCompactionMetadata hoodieCompactionMetadata;
@Deprecated public org.apache.hudi.avro.model.HoodieRollbackMetadata hoodieRollbackMetadata;
@Deprecated public org.apache.hudi.avro.model.HoodieSavepointMetadata hoodieSavePointMetadata;
@Deprecated public java.lang.String commitTime;
@Deprecated public java.lang.String actionType;
@Deprecated public java.lang.Integer version;
@Deprecated public org.apache.hudi.avro.model.HoodieCompactionPlan hoodieCompactionPlan;
@Deprecated public org.apache.hudi.avro.model.HoodieCleanerPlan hoodieCleanerPlan;
@Deprecated public java.lang.String actionState;
@Deprecated public org.apache.hudi.avro.model.HoodieReplaceCommitMetadata hoodieReplaceCommitMetadata;
@Deprecated public org.apache.hudi.avro.model.HoodieRequestedReplaceMetadata hoodieRequestedReplaceMetadata;
@Deprecated public org.apache.hudi.avro.model.HoodieCommitMetadata HoodieInflightReplaceMetadata;
@Deprecated public org.apache.hudi.avro.model.HoodieIndexCommitMetadata hoodieIndexCommitMetadata;
/**
* Default constructor. Note that this does not initialize fields
* to their default values from the schema. If that is desired then
* one should use newBuilder().
*/
public HoodieArchivedMetaEntry() {}
/**
* All-args constructor.
* @param hoodieCommitMetadata The new value for hoodieCommitMetadata
* @param hoodieCleanMetadata The new value for hoodieCleanMetadata
* @param hoodieCompactionMetadata The new value for hoodieCompactionMetadata
* @param hoodieRollbackMetadata The new value for hoodieRollbackMetadata
* @param hoodieSavePointMetadata The new value for hoodieSavePointMetadata
* @param commitTime The new value for commitTime
* @param actionType The new value for actionType
* @param version The new value for version
* @param hoodieCompactionPlan The new value for hoodieCompactionPlan
* @param hoodieCleanerPlan The new value for hoodieCleanerPlan
* @param actionState The new value for actionState
* @param hoodieReplaceCommitMetadata The new value for hoodieReplaceCommitMetadata
* @param hoodieRequestedReplaceMetadata The new value for hoodieRequestedReplaceMetadata
* @param HoodieInflightReplaceMetadata The new value for HoodieInflightReplaceMetadata
* @param hoodieIndexCommitMetadata The new value for hoodieIndexCommitMetadata
*/
public HoodieArchivedMetaEntry(org.apache.hudi.avro.model.HoodieCommitMetadata hoodieCommitMetadata, org.apache.hudi.avro.model.HoodieCleanMetadata hoodieCleanMetadata, org.apache.hudi.avro.model.HoodieCompactionMetadata hoodieCompactionMetadata, org.apache.hudi.avro.model.HoodieRollbackMetadata hoodieRollbackMetadata, org.apache.hudi.avro.model.HoodieSavepointMetadata hoodieSavePointMetadata, java.lang.String commitTime, java.lang.String actionType, java.lang.Integer version, org.apache.hudi.avro.model.HoodieCompactionPlan hoodieCompactionPlan, org.apache.hudi.avro.model.HoodieCleanerPlan hoodieCleanerPlan, java.lang.String actionState, org.apache.hudi.avro.model.HoodieReplaceCommitMetadata hoodieReplaceCommitMetadata, org.apache.hudi.avro.model.HoodieRequestedReplaceMetadata hoodieRequestedReplaceMetadata, org.apache.hudi.avro.model.HoodieCommitMetadata HoodieInflightReplaceMetadata, org.apache.hudi.avro.model.HoodieIndexCommitMetadata hoodieIndexCommitMetadata) {
this.hoodieCommitMetadata = hoodieCommitMetadata;
this.hoodieCleanMetadata = hoodieCleanMetadata;
this.hoodieCompactionMetadata = hoodieCompactionMetadata;
this.hoodieRollbackMetadata = hoodieRollbackMetadata;
this.hoodieSavePointMetadata = hoodieSavePointMetadata;
this.commitTime = commitTime;
this.actionType = actionType;
this.version = version;
this.hoodieCompactionPlan = hoodieCompactionPlan;
this.hoodieCleanerPlan = hoodieCleanerPlan;
this.actionState = actionState;
this.hoodieReplaceCommitMetadata = hoodieReplaceCommitMetadata;
this.hoodieRequestedReplaceMetadata = hoodieRequestedReplaceMetadata;
this.HoodieInflightReplaceMetadata = HoodieInflightReplaceMetadata;
this.hoodieIndexCommitMetadata = hoodieIndexCommitMetadata;
}
public org.apache.avro.Schema getSchema() { return SCHEMA$; }
// Used by DatumWriter. Applications should not call.
public java.lang.Object get(int field$) {
switch (field$) {
case 0: return hoodieCommitMetadata;
case 1: return hoodieCleanMetadata;
case 2: return hoodieCompactionMetadata;
case 3: return hoodieRollbackMetadata;
case 4: return hoodieSavePointMetadata;
case 5: return commitTime;
case 6: return actionType;
case 7: return version;
case 8: return hoodieCompactionPlan;
case 9: return hoodieCleanerPlan;
case 10: return actionState;
case 11: return hoodieReplaceCommitMetadata;
case 12: return hoodieRequestedReplaceMetadata;
case 13: return HoodieInflightReplaceMetadata;
case 14: return hoodieIndexCommitMetadata;
default: throw new org.apache.avro.AvroRuntimeException("Bad index");
}
}
// Used by DatumReader. Applications should not call.
@SuppressWarnings(value="unchecked")
public void put(int field$, java.lang.Object value$) {
switch (field$) {
case 0: hoodieCommitMetadata = (org.apache.hudi.avro.model.HoodieCommitMetadata)value$; break;
case 1: hoodieCleanMetadata = (org.apache.hudi.avro.model.HoodieCleanMetadata)value$; break;
case 2: hoodieCompactionMetadata = (org.apache.hudi.avro.model.HoodieCompactionMetadata)value$; break;
case 3: hoodieRollbackMetadata = (org.apache.hudi.avro.model.HoodieRollbackMetadata)value$; break;
case 4: hoodieSavePointMetadata = (org.apache.hudi.avro.model.HoodieSavepointMetadata)value$; break;
case 5: commitTime = (java.lang.String)value$; break;
case 6: actionType = (java.lang.String)value$; break;
case 7: version = (java.lang.Integer)value$; break;
case 8: hoodieCompactionPlan = (org.apache.hudi.avro.model.HoodieCompactionPlan)value$; break;
case 9: hoodieCleanerPlan = (org.apache.hudi.avro.model.HoodieCleanerPlan)value$; break;
case 10: actionState = (java.lang.String)value$; break;
case 11: hoodieReplaceCommitMetadata = (org.apache.hudi.avro.model.HoodieReplaceCommitMetadata)value$; break;
case 12: hoodieRequestedReplaceMetadata = (org.apache.hudi.avro.model.HoodieRequestedReplaceMetadata)value$; break;
case 13: HoodieInflightReplaceMetadata = (org.apache.hudi.avro.model.HoodieCommitMetadata)value$; break;
case 14: hoodieIndexCommitMetadata = (org.apache.hudi.avro.model.HoodieIndexCommitMetadata)value$; break;
default: throw new org.apache.avro.AvroRuntimeException("Bad index");
}
}
/**
* Gets the value of the 'hoodieCommitMetadata' field.
* @return The value of the 'hoodieCommitMetadata' field.
*/
public org.apache.hudi.avro.model.HoodieCommitMetadata getHoodieCommitMetadata() {
return hoodieCommitMetadata;
}
/**
* Sets the value of the 'hoodieCommitMetadata' field.
* @param value the value to set.
*/
public void setHoodieCommitMetadata(org.apache.hudi.avro.model.HoodieCommitMetadata value) {
this.hoodieCommitMetadata = value;
}
/**
* Gets the value of the 'hoodieCleanMetadata' field.
* @return The value of the 'hoodieCleanMetadata' field.
*/
public org.apache.hudi.avro.model.HoodieCleanMetadata getHoodieCleanMetadata() {
return hoodieCleanMetadata;
}
/**
* Sets the value of the 'hoodieCleanMetadata' field.
* @param value the value to set.
*/
public void setHoodieCleanMetadata(org.apache.hudi.avro.model.HoodieCleanMetadata value) {
this.hoodieCleanMetadata = value;
}
/**
* Gets the value of the 'hoodieCompactionMetadata' field.
* @return The value of the 'hoodieCompactionMetadata' field.
*/
public org.apache.hudi.avro.model.HoodieCompactionMetadata getHoodieCompactionMetadata() {
return hoodieCompactionMetadata;
}
/**
* Sets the value of the 'hoodieCompactionMetadata' field.
* @param value the value to set.
*/
public void setHoodieCompactionMetadata(org.apache.hudi.avro.model.HoodieCompactionMetadata value) {
this.hoodieCompactionMetadata = value;
}
/**
* Gets the value of the 'hoodieRollbackMetadata' field.
* @return The value of the 'hoodieRollbackMetadata' field.
*/
public org.apache.hudi.avro.model.HoodieRollbackMetadata getHoodieRollbackMetadata() {
return hoodieRollbackMetadata;
}
/**
* Sets the value of the 'hoodieRollbackMetadata' field.
* @param value the value to set.
*/
public void setHoodieRollbackMetadata(org.apache.hudi.avro.model.HoodieRollbackMetadata value) {
this.hoodieRollbackMetadata = value;
}
/**
* Gets the value of the 'hoodieSavePointMetadata' field.
* @return The value of the 'hoodieSavePointMetadata' field.
*/
public org.apache.hudi.avro.model.HoodieSavepointMetadata getHoodieSavePointMetadata() {
return hoodieSavePointMetadata;
}
/**
* Sets the value of the 'hoodieSavePointMetadata' field.
* @param value the value to set.
*/
public void setHoodieSavePointMetadata(org.apache.hudi.avro.model.HoodieSavepointMetadata value) {
this.hoodieSavePointMetadata = value;
}
/**
* Gets the value of the 'commitTime' field.
* @return The value of the 'commitTime' field.
*/
public java.lang.String getCommitTime() {
return commitTime;
}
/**
* Sets the value of the 'commitTime' field.
* @param value the value to set.
*/
public void setCommitTime(java.lang.String value) {
this.commitTime = value;
}
/**
* Gets the value of the 'actionType' field.
* @return The value of the 'actionType' field.
*/
public java.lang.String getActionType() {
return actionType;
}
/**
* Sets the value of the 'actionType' field.
* @param value the value to set.
*/
public void setActionType(java.lang.String value) {
this.actionType = value;
}
/**
* Gets the value of the 'version' field.
* @return The value of the 'version' field.
*/
public java.lang.Integer getVersion() {
return version;
}
/**
* Sets the value of the 'version' field.
* @param value the value to set.
*/
public void setVersion(java.lang.Integer value) {
this.version = value;
}
/**
* Gets the value of the 'hoodieCompactionPlan' field.
* @return The value of the 'hoodieCompactionPlan' field.
*/
public org.apache.hudi.avro.model.HoodieCompactionPlan getHoodieCompactionPlan() {
return hoodieCompactionPlan;
}
/**
* Sets the value of the 'hoodieCompactionPlan' field.
* @param value the value to set.
*/
public void setHoodieCompactionPlan(org.apache.hudi.avro.model.HoodieCompactionPlan value) {
this.hoodieCompactionPlan = value;
}
/**
* Gets the value of the 'hoodieCleanerPlan' field.
* @return The value of the 'hoodieCleanerPlan' field.
*/
public org.apache.hudi.avro.model.HoodieCleanerPlan getHoodieCleanerPlan() {
return hoodieCleanerPlan;
}
/**
* Sets the value of the 'hoodieCleanerPlan' field.
* @param value the value to set.
*/
public void setHoodieCleanerPlan(org.apache.hudi.avro.model.HoodieCleanerPlan value) {
this.hoodieCleanerPlan = value;
}
/**
* Gets the value of the 'actionState' field.
* @return The value of the 'actionState' field.
*/
public java.lang.String getActionState() {
return actionState;
}
/**
* Sets the value of the 'actionState' field.
* @param value the value to set.
*/
public void setActionState(java.lang.String value) {
this.actionState = value;
}
/**
* Gets the value of the 'hoodieReplaceCommitMetadata' field.
* @return The value of the 'hoodieReplaceCommitMetadata' field.
*/
public org.apache.hudi.avro.model.HoodieReplaceCommitMetadata getHoodieReplaceCommitMetadata() {
return hoodieReplaceCommitMetadata;
}
/**
* Sets the value of the 'hoodieReplaceCommitMetadata' field.
* @param value the value to set.
*/
public void setHoodieReplaceCommitMetadata(org.apache.hudi.avro.model.HoodieReplaceCommitMetadata value) {
this.hoodieReplaceCommitMetadata = value;
}
/**
* Gets the value of the 'hoodieRequestedReplaceMetadata' field.
* @return The value of the 'hoodieRequestedReplaceMetadata' field.
*/
public org.apache.hudi.avro.model.HoodieRequestedReplaceMetadata getHoodieRequestedReplaceMetadata() {
return hoodieRequestedReplaceMetadata;
}
/**
* Sets the value of the 'hoodieRequestedReplaceMetadata' field.
* @param value the value to set.
*/
public void setHoodieRequestedReplaceMetadata(org.apache.hudi.avro.model.HoodieRequestedReplaceMetadata value) {
this.hoodieRequestedReplaceMetadata = value;
}
/**
* Gets the value of the 'HoodieInflightReplaceMetadata' field.
* @return The value of the 'HoodieInflightReplaceMetadata' field.
*/
public org.apache.hudi.avro.model.HoodieCommitMetadata getHoodieInflightReplaceMetadata() {
return HoodieInflightReplaceMetadata;
}
/**
* Sets the value of the 'HoodieInflightReplaceMetadata' field.
* @param value the value to set.
*/
public void setHoodieInflightReplaceMetadata(org.apache.hudi.avro.model.HoodieCommitMetadata value) {
this.HoodieInflightReplaceMetadata = value;
}
/**
* Gets the value of the 'hoodieIndexCommitMetadata' field.
* @return The value of the 'hoodieIndexCommitMetadata' field.
*/
public org.apache.hudi.avro.model.HoodieIndexCommitMetadata getHoodieIndexCommitMetadata() {
return hoodieIndexCommitMetadata;
}
/**
* Sets the value of the 'hoodieIndexCommitMetadata' field.
* @param value the value to set.
*/
public void setHoodieIndexCommitMetadata(org.apache.hudi.avro.model.HoodieIndexCommitMetadata value) {
this.hoodieIndexCommitMetadata = value;
}
/**
* Creates a new HoodieArchivedMetaEntry RecordBuilder.
* @return A new HoodieArchivedMetaEntry RecordBuilder
*/
public static org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder newBuilder() {
return new org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder();
}
/**
* Creates a new HoodieArchivedMetaEntry RecordBuilder by copying an existing Builder.
* @param other The existing builder to copy.
* @return A new HoodieArchivedMetaEntry RecordBuilder
*/
public static org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder newBuilder(org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder other) {
return new org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder(other);
}
/**
* Creates a new HoodieArchivedMetaEntry RecordBuilder by copying an existing HoodieArchivedMetaEntry instance.
* @param other The existing instance to copy.
* @return A new HoodieArchivedMetaEntry RecordBuilder
*/
public static org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder newBuilder(org.apache.hudi.avro.model.HoodieArchivedMetaEntry other) {
return new org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder(other);
}
/**
* RecordBuilder for HoodieArchivedMetaEntry instances.
*/
public static class Builder extends org.apache.avro.specific.SpecificRecordBuilderBase
implements org.apache.avro.data.RecordBuilder {
private org.apache.hudi.avro.model.HoodieCommitMetadata hoodieCommitMetadata;
private org.apache.hudi.avro.model.HoodieCommitMetadata.Builder hoodieCommitMetadataBuilder;
private org.apache.hudi.avro.model.HoodieCleanMetadata hoodieCleanMetadata;
private org.apache.hudi.avro.model.HoodieCleanMetadata.Builder hoodieCleanMetadataBuilder;
private org.apache.hudi.avro.model.HoodieCompactionMetadata hoodieCompactionMetadata;
private org.apache.hudi.avro.model.HoodieCompactionMetadata.Builder hoodieCompactionMetadataBuilder;
private org.apache.hudi.avro.model.HoodieRollbackMetadata hoodieRollbackMetadata;
private org.apache.hudi.avro.model.HoodieRollbackMetadata.Builder hoodieRollbackMetadataBuilder;
private org.apache.hudi.avro.model.HoodieSavepointMetadata hoodieSavePointMetadata;
private org.apache.hudi.avro.model.HoodieSavepointMetadata.Builder hoodieSavePointMetadataBuilder;
private java.lang.String commitTime;
private java.lang.String actionType;
private java.lang.Integer version;
private org.apache.hudi.avro.model.HoodieCompactionPlan hoodieCompactionPlan;
private org.apache.hudi.avro.model.HoodieCompactionPlan.Builder hoodieCompactionPlanBuilder;
private org.apache.hudi.avro.model.HoodieCleanerPlan hoodieCleanerPlan;
private org.apache.hudi.avro.model.HoodieCleanerPlan.Builder hoodieCleanerPlanBuilder;
private java.lang.String actionState;
private org.apache.hudi.avro.model.HoodieReplaceCommitMetadata hoodieReplaceCommitMetadata;
private org.apache.hudi.avro.model.HoodieReplaceCommitMetadata.Builder hoodieReplaceCommitMetadataBuilder;
private org.apache.hudi.avro.model.HoodieRequestedReplaceMetadata hoodieRequestedReplaceMetadata;
private org.apache.hudi.avro.model.HoodieRequestedReplaceMetadata.Builder hoodieRequestedReplaceMetadataBuilder;
private org.apache.hudi.avro.model.HoodieCommitMetadata HoodieInflightReplaceMetadata;
private org.apache.hudi.avro.model.HoodieCommitMetadata.Builder HoodieInflightReplaceMetadataBuilder;
private org.apache.hudi.avro.model.HoodieIndexCommitMetadata hoodieIndexCommitMetadata;
private org.apache.hudi.avro.model.HoodieIndexCommitMetadata.Builder hoodieIndexCommitMetadataBuilder;
/** Creates a new Builder */
private Builder() {
super(SCHEMA$);
}
/**
* Creates a Builder by copying an existing Builder.
* @param other The existing Builder to copy.
*/
private Builder(org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder other) {
super(other);
if (isValidValue(fields()[0], other.hoodieCommitMetadata)) {
this.hoodieCommitMetadata = data().deepCopy(fields()[0].schema(), other.hoodieCommitMetadata);
fieldSetFlags()[0] = true;
}
if (other.hasHoodieCommitMetadataBuilder()) {
this.hoodieCommitMetadataBuilder = org.apache.hudi.avro.model.HoodieCommitMetadata.newBuilder(other.getHoodieCommitMetadataBuilder());
}
if (isValidValue(fields()[1], other.hoodieCleanMetadata)) {
this.hoodieCleanMetadata = data().deepCopy(fields()[1].schema(), other.hoodieCleanMetadata);
fieldSetFlags()[1] = true;
}
if (other.hasHoodieCleanMetadataBuilder()) {
this.hoodieCleanMetadataBuilder = org.apache.hudi.avro.model.HoodieCleanMetadata.newBuilder(other.getHoodieCleanMetadataBuilder());
}
if (isValidValue(fields()[2], other.hoodieCompactionMetadata)) {
this.hoodieCompactionMetadata = data().deepCopy(fields()[2].schema(), other.hoodieCompactionMetadata);
fieldSetFlags()[2] = true;
}
if (other.hasHoodieCompactionMetadataBuilder()) {
this.hoodieCompactionMetadataBuilder = org.apache.hudi.avro.model.HoodieCompactionMetadata.newBuilder(other.getHoodieCompactionMetadataBuilder());
}
if (isValidValue(fields()[3], other.hoodieRollbackMetadata)) {
this.hoodieRollbackMetadata = data().deepCopy(fields()[3].schema(), other.hoodieRollbackMetadata);
fieldSetFlags()[3] = true;
}
if (other.hasHoodieRollbackMetadataBuilder()) {
this.hoodieRollbackMetadataBuilder = org.apache.hudi.avro.model.HoodieRollbackMetadata.newBuilder(other.getHoodieRollbackMetadataBuilder());
}
if (isValidValue(fields()[4], other.hoodieSavePointMetadata)) {
this.hoodieSavePointMetadata = data().deepCopy(fields()[4].schema(), other.hoodieSavePointMetadata);
fieldSetFlags()[4] = true;
}
if (other.hasHoodieSavePointMetadataBuilder()) {
this.hoodieSavePointMetadataBuilder = org.apache.hudi.avro.model.HoodieSavepointMetadata.newBuilder(other.getHoodieSavePointMetadataBuilder());
}
if (isValidValue(fields()[5], other.commitTime)) {
this.commitTime = data().deepCopy(fields()[5].schema(), other.commitTime);
fieldSetFlags()[5] = true;
}
if (isValidValue(fields()[6], other.actionType)) {
this.actionType = data().deepCopy(fields()[6].schema(), other.actionType);
fieldSetFlags()[6] = true;
}
if (isValidValue(fields()[7], other.version)) {
this.version = data().deepCopy(fields()[7].schema(), other.version);
fieldSetFlags()[7] = true;
}
if (isValidValue(fields()[8], other.hoodieCompactionPlan)) {
this.hoodieCompactionPlan = data().deepCopy(fields()[8].schema(), other.hoodieCompactionPlan);
fieldSetFlags()[8] = true;
}
if (other.hasHoodieCompactionPlanBuilder()) {
this.hoodieCompactionPlanBuilder = org.apache.hudi.avro.model.HoodieCompactionPlan.newBuilder(other.getHoodieCompactionPlanBuilder());
}
if (isValidValue(fields()[9], other.hoodieCleanerPlan)) {
this.hoodieCleanerPlan = data().deepCopy(fields()[9].schema(), other.hoodieCleanerPlan);
fieldSetFlags()[9] = true;
}
if (other.hasHoodieCleanerPlanBuilder()) {
this.hoodieCleanerPlanBuilder = org.apache.hudi.avro.model.HoodieCleanerPlan.newBuilder(other.getHoodieCleanerPlanBuilder());
}
if (isValidValue(fields()[10], other.actionState)) {
this.actionState = data().deepCopy(fields()[10].schema(), other.actionState);
fieldSetFlags()[10] = true;
}
if (isValidValue(fields()[11], other.hoodieReplaceCommitMetadata)) {
this.hoodieReplaceCommitMetadata = data().deepCopy(fields()[11].schema(), other.hoodieReplaceCommitMetadata);
fieldSetFlags()[11] = true;
}
if (other.hasHoodieReplaceCommitMetadataBuilder()) {
this.hoodieReplaceCommitMetadataBuilder = org.apache.hudi.avro.model.HoodieReplaceCommitMetadata.newBuilder(other.getHoodieReplaceCommitMetadataBuilder());
}
if (isValidValue(fields()[12], other.hoodieRequestedReplaceMetadata)) {
this.hoodieRequestedReplaceMetadata = data().deepCopy(fields()[12].schema(), other.hoodieRequestedReplaceMetadata);
fieldSetFlags()[12] = true;
}
if (other.hasHoodieRequestedReplaceMetadataBuilder()) {
this.hoodieRequestedReplaceMetadataBuilder = org.apache.hudi.avro.model.HoodieRequestedReplaceMetadata.newBuilder(other.getHoodieRequestedReplaceMetadataBuilder());
}
if (isValidValue(fields()[13], other.HoodieInflightReplaceMetadata)) {
this.HoodieInflightReplaceMetadata = data().deepCopy(fields()[13].schema(), other.HoodieInflightReplaceMetadata);
fieldSetFlags()[13] = true;
}
if (other.hasHoodieInflightReplaceMetadataBuilder()) {
this.HoodieInflightReplaceMetadataBuilder = org.apache.hudi.avro.model.HoodieCommitMetadata.newBuilder(other.getHoodieInflightReplaceMetadataBuilder());
}
if (isValidValue(fields()[14], other.hoodieIndexCommitMetadata)) {
this.hoodieIndexCommitMetadata = data().deepCopy(fields()[14].schema(), other.hoodieIndexCommitMetadata);
fieldSetFlags()[14] = true;
}
if (other.hasHoodieIndexCommitMetadataBuilder()) {
this.hoodieIndexCommitMetadataBuilder = org.apache.hudi.avro.model.HoodieIndexCommitMetadata.newBuilder(other.getHoodieIndexCommitMetadataBuilder());
}
}
/**
* Creates a Builder by copying an existing HoodieArchivedMetaEntry instance
* @param other The existing instance to copy.
*/
private Builder(org.apache.hudi.avro.model.HoodieArchivedMetaEntry other) {
super(SCHEMA$);
if (isValidValue(fields()[0], other.hoodieCommitMetadata)) {
this.hoodieCommitMetadata = data().deepCopy(fields()[0].schema(), other.hoodieCommitMetadata);
fieldSetFlags()[0] = true;
}
this.hoodieCommitMetadataBuilder = null;
if (isValidValue(fields()[1], other.hoodieCleanMetadata)) {
this.hoodieCleanMetadata = data().deepCopy(fields()[1].schema(), other.hoodieCleanMetadata);
fieldSetFlags()[1] = true;
}
this.hoodieCleanMetadataBuilder = null;
if (isValidValue(fields()[2], other.hoodieCompactionMetadata)) {
this.hoodieCompactionMetadata = data().deepCopy(fields()[2].schema(), other.hoodieCompactionMetadata);
fieldSetFlags()[2] = true;
}
this.hoodieCompactionMetadataBuilder = null;
if (isValidValue(fields()[3], other.hoodieRollbackMetadata)) {
this.hoodieRollbackMetadata = data().deepCopy(fields()[3].schema(), other.hoodieRollbackMetadata);
fieldSetFlags()[3] = true;
}
this.hoodieRollbackMetadataBuilder = null;
if (isValidValue(fields()[4], other.hoodieSavePointMetadata)) {
this.hoodieSavePointMetadata = data().deepCopy(fields()[4].schema(), other.hoodieSavePointMetadata);
fieldSetFlags()[4] = true;
}
this.hoodieSavePointMetadataBuilder = null;
if (isValidValue(fields()[5], other.commitTime)) {
this.commitTime = data().deepCopy(fields()[5].schema(), other.commitTime);
fieldSetFlags()[5] = true;
}
if (isValidValue(fields()[6], other.actionType)) {
this.actionType = data().deepCopy(fields()[6].schema(), other.actionType);
fieldSetFlags()[6] = true;
}
if (isValidValue(fields()[7], other.version)) {
this.version = data().deepCopy(fields()[7].schema(), other.version);
fieldSetFlags()[7] = true;
}
if (isValidValue(fields()[8], other.hoodieCompactionPlan)) {
this.hoodieCompactionPlan = data().deepCopy(fields()[8].schema(), other.hoodieCompactionPlan);
fieldSetFlags()[8] = true;
}
this.hoodieCompactionPlanBuilder = null;
if (isValidValue(fields()[9], other.hoodieCleanerPlan)) {
this.hoodieCleanerPlan = data().deepCopy(fields()[9].schema(), other.hoodieCleanerPlan);
fieldSetFlags()[9] = true;
}
this.hoodieCleanerPlanBuilder = null;
if (isValidValue(fields()[10], other.actionState)) {
this.actionState = data().deepCopy(fields()[10].schema(), other.actionState);
fieldSetFlags()[10] = true;
}
if (isValidValue(fields()[11], other.hoodieReplaceCommitMetadata)) {
this.hoodieReplaceCommitMetadata = data().deepCopy(fields()[11].schema(), other.hoodieReplaceCommitMetadata);
fieldSetFlags()[11] = true;
}
this.hoodieReplaceCommitMetadataBuilder = null;
if (isValidValue(fields()[12], other.hoodieRequestedReplaceMetadata)) {
this.hoodieRequestedReplaceMetadata = data().deepCopy(fields()[12].schema(), other.hoodieRequestedReplaceMetadata);
fieldSetFlags()[12] = true;
}
this.hoodieRequestedReplaceMetadataBuilder = null;
if (isValidValue(fields()[13], other.HoodieInflightReplaceMetadata)) {
this.HoodieInflightReplaceMetadata = data().deepCopy(fields()[13].schema(), other.HoodieInflightReplaceMetadata);
fieldSetFlags()[13] = true;
}
this.HoodieInflightReplaceMetadataBuilder = null;
if (isValidValue(fields()[14], other.hoodieIndexCommitMetadata)) {
this.hoodieIndexCommitMetadata = data().deepCopy(fields()[14].schema(), other.hoodieIndexCommitMetadata);
fieldSetFlags()[14] = true;
}
this.hoodieIndexCommitMetadataBuilder = null;
}
/**
* Gets the value of the 'hoodieCommitMetadata' field.
* @return The value.
*/
public org.apache.hudi.avro.model.HoodieCommitMetadata getHoodieCommitMetadata() {
return hoodieCommitMetadata;
}
/**
* Sets the value of the 'hoodieCommitMetadata' field.
* @param value The value of 'hoodieCommitMetadata'.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setHoodieCommitMetadata(org.apache.hudi.avro.model.HoodieCommitMetadata value) {
validate(fields()[0], value);
this.hoodieCommitMetadataBuilder = null;
this.hoodieCommitMetadata = value;
fieldSetFlags()[0] = true;
return this;
}
/**
* Checks whether the 'hoodieCommitMetadata' field has been set.
* @return True if the 'hoodieCommitMetadata' field has been set, false otherwise.
*/
public boolean hasHoodieCommitMetadata() {
return fieldSetFlags()[0];
}
/**
* Gets the Builder instance for the 'hoodieCommitMetadata' field and creates one if it doesn't exist yet.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieCommitMetadata.Builder getHoodieCommitMetadataBuilder() {
if (hoodieCommitMetadataBuilder == null) {
if (hasHoodieCommitMetadata()) {
setHoodieCommitMetadataBuilder(org.apache.hudi.avro.model.HoodieCommitMetadata.newBuilder(hoodieCommitMetadata));
} else {
setHoodieCommitMetadataBuilder(org.apache.hudi.avro.model.HoodieCommitMetadata.newBuilder());
}
}
return hoodieCommitMetadataBuilder;
}
/**
* Sets the Builder instance for the 'hoodieCommitMetadata' field
* @param value The builder instance that must be set.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setHoodieCommitMetadataBuilder(org.apache.hudi.avro.model.HoodieCommitMetadata.Builder value) {
clearHoodieCommitMetadata();
hoodieCommitMetadataBuilder = value;
return this;
}
/**
* Checks whether the 'hoodieCommitMetadata' field has an active Builder instance
* @return True if the 'hoodieCommitMetadata' field has an active Builder instance
*/
public boolean hasHoodieCommitMetadataBuilder() {
return hoodieCommitMetadataBuilder != null;
}
/**
* Clears the value of the 'hoodieCommitMetadata' field.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder clearHoodieCommitMetadata() {
hoodieCommitMetadata = null;
hoodieCommitMetadataBuilder = null;
fieldSetFlags()[0] = false;
return this;
}
/**
* Gets the value of the 'hoodieCleanMetadata' field.
* @return The value.
*/
public org.apache.hudi.avro.model.HoodieCleanMetadata getHoodieCleanMetadata() {
return hoodieCleanMetadata;
}
/**
* Sets the value of the 'hoodieCleanMetadata' field.
* @param value The value of 'hoodieCleanMetadata'.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setHoodieCleanMetadata(org.apache.hudi.avro.model.HoodieCleanMetadata value) {
validate(fields()[1], value);
this.hoodieCleanMetadataBuilder = null;
this.hoodieCleanMetadata = value;
fieldSetFlags()[1] = true;
return this;
}
/**
* Checks whether the 'hoodieCleanMetadata' field has been set.
* @return True if the 'hoodieCleanMetadata' field has been set, false otherwise.
*/
public boolean hasHoodieCleanMetadata() {
return fieldSetFlags()[1];
}
/**
* Gets the Builder instance for the 'hoodieCleanMetadata' field and creates one if it doesn't exist yet.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieCleanMetadata.Builder getHoodieCleanMetadataBuilder() {
if (hoodieCleanMetadataBuilder == null) {
if (hasHoodieCleanMetadata()) {
setHoodieCleanMetadataBuilder(org.apache.hudi.avro.model.HoodieCleanMetadata.newBuilder(hoodieCleanMetadata));
} else {
setHoodieCleanMetadataBuilder(org.apache.hudi.avro.model.HoodieCleanMetadata.newBuilder());
}
}
return hoodieCleanMetadataBuilder;
}
/**
* Sets the Builder instance for the 'hoodieCleanMetadata' field
* @param value The builder instance that must be set.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setHoodieCleanMetadataBuilder(org.apache.hudi.avro.model.HoodieCleanMetadata.Builder value) {
clearHoodieCleanMetadata();
hoodieCleanMetadataBuilder = value;
return this;
}
/**
* Checks whether the 'hoodieCleanMetadata' field has an active Builder instance
* @return True if the 'hoodieCleanMetadata' field has an active Builder instance
*/
public boolean hasHoodieCleanMetadataBuilder() {
return hoodieCleanMetadataBuilder != null;
}
/**
* Clears the value of the 'hoodieCleanMetadata' field.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder clearHoodieCleanMetadata() {
hoodieCleanMetadata = null;
hoodieCleanMetadataBuilder = null;
fieldSetFlags()[1] = false;
return this;
}
/**
* Gets the value of the 'hoodieCompactionMetadata' field.
* @return The value.
*/
public org.apache.hudi.avro.model.HoodieCompactionMetadata getHoodieCompactionMetadata() {
return hoodieCompactionMetadata;
}
/**
* Sets the value of the 'hoodieCompactionMetadata' field.
* @param value The value of 'hoodieCompactionMetadata'.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setHoodieCompactionMetadata(org.apache.hudi.avro.model.HoodieCompactionMetadata value) {
validate(fields()[2], value);
this.hoodieCompactionMetadataBuilder = null;
this.hoodieCompactionMetadata = value;
fieldSetFlags()[2] = true;
return this;
}
/**
* Checks whether the 'hoodieCompactionMetadata' field has been set.
* @return True if the 'hoodieCompactionMetadata' field has been set, false otherwise.
*/
public boolean hasHoodieCompactionMetadata() {
return fieldSetFlags()[2];
}
/**
* Gets the Builder instance for the 'hoodieCompactionMetadata' field and creates one if it doesn't exist yet.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieCompactionMetadata.Builder getHoodieCompactionMetadataBuilder() {
if (hoodieCompactionMetadataBuilder == null) {
if (hasHoodieCompactionMetadata()) {
setHoodieCompactionMetadataBuilder(org.apache.hudi.avro.model.HoodieCompactionMetadata.newBuilder(hoodieCompactionMetadata));
} else {
setHoodieCompactionMetadataBuilder(org.apache.hudi.avro.model.HoodieCompactionMetadata.newBuilder());
}
}
return hoodieCompactionMetadataBuilder;
}
/**
* Sets the Builder instance for the 'hoodieCompactionMetadata' field
* @param value The builder instance that must be set.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setHoodieCompactionMetadataBuilder(org.apache.hudi.avro.model.HoodieCompactionMetadata.Builder value) {
clearHoodieCompactionMetadata();
hoodieCompactionMetadataBuilder = value;
return this;
}
/**
* Checks whether the 'hoodieCompactionMetadata' field has an active Builder instance
* @return True if the 'hoodieCompactionMetadata' field has an active Builder instance
*/
public boolean hasHoodieCompactionMetadataBuilder() {
return hoodieCompactionMetadataBuilder != null;
}
/**
* Clears the value of the 'hoodieCompactionMetadata' field.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder clearHoodieCompactionMetadata() {
hoodieCompactionMetadata = null;
hoodieCompactionMetadataBuilder = null;
fieldSetFlags()[2] = false;
return this;
}
/**
* Gets the value of the 'hoodieRollbackMetadata' field.
* @return The value.
*/
public org.apache.hudi.avro.model.HoodieRollbackMetadata getHoodieRollbackMetadata() {
return hoodieRollbackMetadata;
}
/**
* Sets the value of the 'hoodieRollbackMetadata' field.
* @param value The value of 'hoodieRollbackMetadata'.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setHoodieRollbackMetadata(org.apache.hudi.avro.model.HoodieRollbackMetadata value) {
validate(fields()[3], value);
this.hoodieRollbackMetadataBuilder = null;
this.hoodieRollbackMetadata = value;
fieldSetFlags()[3] = true;
return this;
}
/**
* Checks whether the 'hoodieRollbackMetadata' field has been set.
* @return True if the 'hoodieRollbackMetadata' field has been set, false otherwise.
*/
public boolean hasHoodieRollbackMetadata() {
return fieldSetFlags()[3];
}
/**
* Gets the Builder instance for the 'hoodieRollbackMetadata' field and creates one if it doesn't exist yet.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieRollbackMetadata.Builder getHoodieRollbackMetadataBuilder() {
if (hoodieRollbackMetadataBuilder == null) {
if (hasHoodieRollbackMetadata()) {
setHoodieRollbackMetadataBuilder(org.apache.hudi.avro.model.HoodieRollbackMetadata.newBuilder(hoodieRollbackMetadata));
} else {
setHoodieRollbackMetadataBuilder(org.apache.hudi.avro.model.HoodieRollbackMetadata.newBuilder());
}
}
return hoodieRollbackMetadataBuilder;
}
/**
* Sets the Builder instance for the 'hoodieRollbackMetadata' field
* @param value The builder instance that must be set.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setHoodieRollbackMetadataBuilder(org.apache.hudi.avro.model.HoodieRollbackMetadata.Builder value) {
clearHoodieRollbackMetadata();
hoodieRollbackMetadataBuilder = value;
return this;
}
/**
* Checks whether the 'hoodieRollbackMetadata' field has an active Builder instance
* @return True if the 'hoodieRollbackMetadata' field has an active Builder instance
*/
public boolean hasHoodieRollbackMetadataBuilder() {
return hoodieRollbackMetadataBuilder != null;
}
/**
* Clears the value of the 'hoodieRollbackMetadata' field.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder clearHoodieRollbackMetadata() {
hoodieRollbackMetadata = null;
hoodieRollbackMetadataBuilder = null;
fieldSetFlags()[3] = false;
return this;
}
/**
* Gets the value of the 'hoodieSavePointMetadata' field.
* @return The value.
*/
public org.apache.hudi.avro.model.HoodieSavepointMetadata getHoodieSavePointMetadata() {
return hoodieSavePointMetadata;
}
/**
* Sets the value of the 'hoodieSavePointMetadata' field.
* @param value The value of 'hoodieSavePointMetadata'.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setHoodieSavePointMetadata(org.apache.hudi.avro.model.HoodieSavepointMetadata value) {
validate(fields()[4], value);
this.hoodieSavePointMetadataBuilder = null;
this.hoodieSavePointMetadata = value;
fieldSetFlags()[4] = true;
return this;
}
/**
* Checks whether the 'hoodieSavePointMetadata' field has been set.
* @return True if the 'hoodieSavePointMetadata' field has been set, false otherwise.
*/
public boolean hasHoodieSavePointMetadata() {
return fieldSetFlags()[4];
}
/**
* Gets the Builder instance for the 'hoodieSavePointMetadata' field and creates one if it doesn't exist yet.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieSavepointMetadata.Builder getHoodieSavePointMetadataBuilder() {
if (hoodieSavePointMetadataBuilder == null) {
if (hasHoodieSavePointMetadata()) {
setHoodieSavePointMetadataBuilder(org.apache.hudi.avro.model.HoodieSavepointMetadata.newBuilder(hoodieSavePointMetadata));
} else {
setHoodieSavePointMetadataBuilder(org.apache.hudi.avro.model.HoodieSavepointMetadata.newBuilder());
}
}
return hoodieSavePointMetadataBuilder;
}
/**
* Sets the Builder instance for the 'hoodieSavePointMetadata' field
* @param value The builder instance that must be set.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setHoodieSavePointMetadataBuilder(org.apache.hudi.avro.model.HoodieSavepointMetadata.Builder value) {
clearHoodieSavePointMetadata();
hoodieSavePointMetadataBuilder = value;
return this;
}
/**
* Checks whether the 'hoodieSavePointMetadata' field has an active Builder instance
* @return True if the 'hoodieSavePointMetadata' field has an active Builder instance
*/
public boolean hasHoodieSavePointMetadataBuilder() {
return hoodieSavePointMetadataBuilder != null;
}
/**
* Clears the value of the 'hoodieSavePointMetadata' field.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder clearHoodieSavePointMetadata() {
hoodieSavePointMetadata = null;
hoodieSavePointMetadataBuilder = null;
fieldSetFlags()[4] = false;
return this;
}
/**
* Gets the value of the 'commitTime' field.
* @return The value.
*/
public java.lang.String getCommitTime() {
return commitTime;
}
/**
* Sets the value of the 'commitTime' field.
* @param value The value of 'commitTime'.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setCommitTime(java.lang.String value) {
validate(fields()[5], value);
this.commitTime = value;
fieldSetFlags()[5] = true;
return this;
}
/**
* Checks whether the 'commitTime' field has been set.
* @return True if the 'commitTime' field has been set, false otherwise.
*/
public boolean hasCommitTime() {
return fieldSetFlags()[5];
}
/**
* Clears the value of the 'commitTime' field.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder clearCommitTime() {
commitTime = null;
fieldSetFlags()[5] = false;
return this;
}
/**
* Gets the value of the 'actionType' field.
* @return The value.
*/
public java.lang.String getActionType() {
return actionType;
}
/**
* Sets the value of the 'actionType' field.
* @param value The value of 'actionType'.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setActionType(java.lang.String value) {
validate(fields()[6], value);
this.actionType = value;
fieldSetFlags()[6] = true;
return this;
}
/**
* Checks whether the 'actionType' field has been set.
* @return True if the 'actionType' field has been set, false otherwise.
*/
public boolean hasActionType() {
return fieldSetFlags()[6];
}
/**
* Clears the value of the 'actionType' field.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder clearActionType() {
actionType = null;
fieldSetFlags()[6] = false;
return this;
}
/**
* Gets the value of the 'version' field.
* @return The value.
*/
public java.lang.Integer getVersion() {
return version;
}
/**
* Sets the value of the 'version' field.
* @param value The value of 'version'.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setVersion(java.lang.Integer value) {
validate(fields()[7], value);
this.version = value;
fieldSetFlags()[7] = true;
return this;
}
/**
* Checks whether the 'version' field has been set.
* @return True if the 'version' field has been set, false otherwise.
*/
public boolean hasVersion() {
return fieldSetFlags()[7];
}
/**
* Clears the value of the 'version' field.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder clearVersion() {
version = null;
fieldSetFlags()[7] = false;
return this;
}
/**
* Gets the value of the 'hoodieCompactionPlan' field.
* @return The value.
*/
public org.apache.hudi.avro.model.HoodieCompactionPlan getHoodieCompactionPlan() {
return hoodieCompactionPlan;
}
/**
* Sets the value of the 'hoodieCompactionPlan' field.
* @param value The value of 'hoodieCompactionPlan'.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setHoodieCompactionPlan(org.apache.hudi.avro.model.HoodieCompactionPlan value) {
validate(fields()[8], value);
this.hoodieCompactionPlanBuilder = null;
this.hoodieCompactionPlan = value;
fieldSetFlags()[8] = true;
return this;
}
/**
* Checks whether the 'hoodieCompactionPlan' field has been set.
* @return True if the 'hoodieCompactionPlan' field has been set, false otherwise.
*/
public boolean hasHoodieCompactionPlan() {
return fieldSetFlags()[8];
}
/**
* Gets the Builder instance for the 'hoodieCompactionPlan' field and creates one if it doesn't exist yet.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieCompactionPlan.Builder getHoodieCompactionPlanBuilder() {
if (hoodieCompactionPlanBuilder == null) {
if (hasHoodieCompactionPlan()) {
setHoodieCompactionPlanBuilder(org.apache.hudi.avro.model.HoodieCompactionPlan.newBuilder(hoodieCompactionPlan));
} else {
setHoodieCompactionPlanBuilder(org.apache.hudi.avro.model.HoodieCompactionPlan.newBuilder());
}
}
return hoodieCompactionPlanBuilder;
}
/**
* Sets the Builder instance for the 'hoodieCompactionPlan' field
* @param value The builder instance that must be set.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setHoodieCompactionPlanBuilder(org.apache.hudi.avro.model.HoodieCompactionPlan.Builder value) {
clearHoodieCompactionPlan();
hoodieCompactionPlanBuilder = value;
return this;
}
/**
* Checks whether the 'hoodieCompactionPlan' field has an active Builder instance
* @return True if the 'hoodieCompactionPlan' field has an active Builder instance
*/
public boolean hasHoodieCompactionPlanBuilder() {
return hoodieCompactionPlanBuilder != null;
}
/**
* Clears the value of the 'hoodieCompactionPlan' field.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder clearHoodieCompactionPlan() {
hoodieCompactionPlan = null;
hoodieCompactionPlanBuilder = null;
fieldSetFlags()[8] = false;
return this;
}
/**
* Gets the value of the 'hoodieCleanerPlan' field.
* @return The value.
*/
public org.apache.hudi.avro.model.HoodieCleanerPlan getHoodieCleanerPlan() {
return hoodieCleanerPlan;
}
/**
* Sets the value of the 'hoodieCleanerPlan' field.
* @param value The value of 'hoodieCleanerPlan'.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setHoodieCleanerPlan(org.apache.hudi.avro.model.HoodieCleanerPlan value) {
validate(fields()[9], value);
this.hoodieCleanerPlanBuilder = null;
this.hoodieCleanerPlan = value;
fieldSetFlags()[9] = true;
return this;
}
/**
* Checks whether the 'hoodieCleanerPlan' field has been set.
* @return True if the 'hoodieCleanerPlan' field has been set, false otherwise.
*/
public boolean hasHoodieCleanerPlan() {
return fieldSetFlags()[9];
}
/**
* Gets the Builder instance for the 'hoodieCleanerPlan' field and creates one if it doesn't exist yet.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieCleanerPlan.Builder getHoodieCleanerPlanBuilder() {
if (hoodieCleanerPlanBuilder == null) {
if (hasHoodieCleanerPlan()) {
setHoodieCleanerPlanBuilder(org.apache.hudi.avro.model.HoodieCleanerPlan.newBuilder(hoodieCleanerPlan));
} else {
setHoodieCleanerPlanBuilder(org.apache.hudi.avro.model.HoodieCleanerPlan.newBuilder());
}
}
return hoodieCleanerPlanBuilder;
}
/**
* Sets the Builder instance for the 'hoodieCleanerPlan' field
* @param value The builder instance that must be set.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setHoodieCleanerPlanBuilder(org.apache.hudi.avro.model.HoodieCleanerPlan.Builder value) {
clearHoodieCleanerPlan();
hoodieCleanerPlanBuilder = value;
return this;
}
/**
* Checks whether the 'hoodieCleanerPlan' field has an active Builder instance
* @return True if the 'hoodieCleanerPlan' field has an active Builder instance
*/
public boolean hasHoodieCleanerPlanBuilder() {
return hoodieCleanerPlanBuilder != null;
}
/**
* Clears the value of the 'hoodieCleanerPlan' field.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder clearHoodieCleanerPlan() {
hoodieCleanerPlan = null;
hoodieCleanerPlanBuilder = null;
fieldSetFlags()[9] = false;
return this;
}
/**
* Gets the value of the 'actionState' field.
* @return The value.
*/
public java.lang.String getActionState() {
return actionState;
}
/**
* Sets the value of the 'actionState' field.
* @param value The value of 'actionState'.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setActionState(java.lang.String value) {
validate(fields()[10], value);
this.actionState = value;
fieldSetFlags()[10] = true;
return this;
}
/**
* Checks whether the 'actionState' field has been set.
* @return True if the 'actionState' field has been set, false otherwise.
*/
public boolean hasActionState() {
return fieldSetFlags()[10];
}
/**
* Clears the value of the 'actionState' field.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder clearActionState() {
actionState = null;
fieldSetFlags()[10] = false;
return this;
}
/**
* Gets the value of the 'hoodieReplaceCommitMetadata' field.
* @return The value.
*/
public org.apache.hudi.avro.model.HoodieReplaceCommitMetadata getHoodieReplaceCommitMetadata() {
return hoodieReplaceCommitMetadata;
}
/**
* Sets the value of the 'hoodieReplaceCommitMetadata' field.
* @param value The value of 'hoodieReplaceCommitMetadata'.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setHoodieReplaceCommitMetadata(org.apache.hudi.avro.model.HoodieReplaceCommitMetadata value) {
validate(fields()[11], value);
this.hoodieReplaceCommitMetadataBuilder = null;
this.hoodieReplaceCommitMetadata = value;
fieldSetFlags()[11] = true;
return this;
}
/**
* Checks whether the 'hoodieReplaceCommitMetadata' field has been set.
* @return True if the 'hoodieReplaceCommitMetadata' field has been set, false otherwise.
*/
public boolean hasHoodieReplaceCommitMetadata() {
return fieldSetFlags()[11];
}
/**
* Gets the Builder instance for the 'hoodieReplaceCommitMetadata' field and creates one if it doesn't exist yet.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieReplaceCommitMetadata.Builder getHoodieReplaceCommitMetadataBuilder() {
if (hoodieReplaceCommitMetadataBuilder == null) {
if (hasHoodieReplaceCommitMetadata()) {
setHoodieReplaceCommitMetadataBuilder(org.apache.hudi.avro.model.HoodieReplaceCommitMetadata.newBuilder(hoodieReplaceCommitMetadata));
} else {
setHoodieReplaceCommitMetadataBuilder(org.apache.hudi.avro.model.HoodieReplaceCommitMetadata.newBuilder());
}
}
return hoodieReplaceCommitMetadataBuilder;
}
/**
* Sets the Builder instance for the 'hoodieReplaceCommitMetadata' field
* @param value The builder instance that must be set.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setHoodieReplaceCommitMetadataBuilder(org.apache.hudi.avro.model.HoodieReplaceCommitMetadata.Builder value) {
clearHoodieReplaceCommitMetadata();
hoodieReplaceCommitMetadataBuilder = value;
return this;
}
/**
* Checks whether the 'hoodieReplaceCommitMetadata' field has an active Builder instance
* @return True if the 'hoodieReplaceCommitMetadata' field has an active Builder instance
*/
public boolean hasHoodieReplaceCommitMetadataBuilder() {
return hoodieReplaceCommitMetadataBuilder != null;
}
/**
* Clears the value of the 'hoodieReplaceCommitMetadata' field.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder clearHoodieReplaceCommitMetadata() {
hoodieReplaceCommitMetadata = null;
hoodieReplaceCommitMetadataBuilder = null;
fieldSetFlags()[11] = false;
return this;
}
/**
* Gets the value of the 'hoodieRequestedReplaceMetadata' field.
* @return The value.
*/
public org.apache.hudi.avro.model.HoodieRequestedReplaceMetadata getHoodieRequestedReplaceMetadata() {
return hoodieRequestedReplaceMetadata;
}
/**
* Sets the value of the 'hoodieRequestedReplaceMetadata' field.
* @param value The value of 'hoodieRequestedReplaceMetadata'.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setHoodieRequestedReplaceMetadata(org.apache.hudi.avro.model.HoodieRequestedReplaceMetadata value) {
validate(fields()[12], value);
this.hoodieRequestedReplaceMetadataBuilder = null;
this.hoodieRequestedReplaceMetadata = value;
fieldSetFlags()[12] = true;
return this;
}
/**
* Checks whether the 'hoodieRequestedReplaceMetadata' field has been set.
* @return True if the 'hoodieRequestedReplaceMetadata' field has been set, false otherwise.
*/
public boolean hasHoodieRequestedReplaceMetadata() {
return fieldSetFlags()[12];
}
/**
* Gets the Builder instance for the 'hoodieRequestedReplaceMetadata' field and creates one if it doesn't exist yet.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieRequestedReplaceMetadata.Builder getHoodieRequestedReplaceMetadataBuilder() {
if (hoodieRequestedReplaceMetadataBuilder == null) {
if (hasHoodieRequestedReplaceMetadata()) {
setHoodieRequestedReplaceMetadataBuilder(org.apache.hudi.avro.model.HoodieRequestedReplaceMetadata.newBuilder(hoodieRequestedReplaceMetadata));
} else {
setHoodieRequestedReplaceMetadataBuilder(org.apache.hudi.avro.model.HoodieRequestedReplaceMetadata.newBuilder());
}
}
return hoodieRequestedReplaceMetadataBuilder;
}
/**
* Sets the Builder instance for the 'hoodieRequestedReplaceMetadata' field
* @param value The builder instance that must be set.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setHoodieRequestedReplaceMetadataBuilder(org.apache.hudi.avro.model.HoodieRequestedReplaceMetadata.Builder value) {
clearHoodieRequestedReplaceMetadata();
hoodieRequestedReplaceMetadataBuilder = value;
return this;
}
/**
* Checks whether the 'hoodieRequestedReplaceMetadata' field has an active Builder instance
* @return True if the 'hoodieRequestedReplaceMetadata' field has an active Builder instance
*/
public boolean hasHoodieRequestedReplaceMetadataBuilder() {
return hoodieRequestedReplaceMetadataBuilder != null;
}
/**
* Clears the value of the 'hoodieRequestedReplaceMetadata' field.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder clearHoodieRequestedReplaceMetadata() {
hoodieRequestedReplaceMetadata = null;
hoodieRequestedReplaceMetadataBuilder = null;
fieldSetFlags()[12] = false;
return this;
}
/**
* Gets the value of the 'HoodieInflightReplaceMetadata' field.
* @return The value.
*/
public org.apache.hudi.avro.model.HoodieCommitMetadata getHoodieInflightReplaceMetadata() {
return HoodieInflightReplaceMetadata;
}
/**
* Sets the value of the 'HoodieInflightReplaceMetadata' field.
* @param value The value of 'HoodieInflightReplaceMetadata'.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setHoodieInflightReplaceMetadata(org.apache.hudi.avro.model.HoodieCommitMetadata value) {
validate(fields()[13], value);
this.HoodieInflightReplaceMetadataBuilder = null;
this.HoodieInflightReplaceMetadata = value;
fieldSetFlags()[13] = true;
return this;
}
/**
* Checks whether the 'HoodieInflightReplaceMetadata' field has been set.
* @return True if the 'HoodieInflightReplaceMetadata' field has been set, false otherwise.
*/
public boolean hasHoodieInflightReplaceMetadata() {
return fieldSetFlags()[13];
}
/**
* Gets the Builder instance for the 'HoodieInflightReplaceMetadata' field and creates one if it doesn't exist yet.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieCommitMetadata.Builder getHoodieInflightReplaceMetadataBuilder() {
if (HoodieInflightReplaceMetadataBuilder == null) {
if (hasHoodieInflightReplaceMetadata()) {
setHoodieInflightReplaceMetadataBuilder(org.apache.hudi.avro.model.HoodieCommitMetadata.newBuilder(HoodieInflightReplaceMetadata));
} else {
setHoodieInflightReplaceMetadataBuilder(org.apache.hudi.avro.model.HoodieCommitMetadata.newBuilder());
}
}
return HoodieInflightReplaceMetadataBuilder;
}
/**
* Sets the Builder instance for the 'HoodieInflightReplaceMetadata' field
* @param value The builder instance that must be set.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setHoodieInflightReplaceMetadataBuilder(org.apache.hudi.avro.model.HoodieCommitMetadata.Builder value) {
clearHoodieInflightReplaceMetadata();
HoodieInflightReplaceMetadataBuilder = value;
return this;
}
/**
* Checks whether the 'HoodieInflightReplaceMetadata' field has an active Builder instance
* @return True if the 'HoodieInflightReplaceMetadata' field has an active Builder instance
*/
public boolean hasHoodieInflightReplaceMetadataBuilder() {
return HoodieInflightReplaceMetadataBuilder != null;
}
/**
* Clears the value of the 'HoodieInflightReplaceMetadata' field.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder clearHoodieInflightReplaceMetadata() {
HoodieInflightReplaceMetadata = null;
HoodieInflightReplaceMetadataBuilder = null;
fieldSetFlags()[13] = false;
return this;
}
/**
* Gets the value of the 'hoodieIndexCommitMetadata' field.
* @return The value.
*/
public org.apache.hudi.avro.model.HoodieIndexCommitMetadata getHoodieIndexCommitMetadata() {
return hoodieIndexCommitMetadata;
}
/**
* Sets the value of the 'hoodieIndexCommitMetadata' field.
* @param value The value of 'hoodieIndexCommitMetadata'.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setHoodieIndexCommitMetadata(org.apache.hudi.avro.model.HoodieIndexCommitMetadata value) {
validate(fields()[14], value);
this.hoodieIndexCommitMetadataBuilder = null;
this.hoodieIndexCommitMetadata = value;
fieldSetFlags()[14] = true;
return this;
}
/**
* Checks whether the 'hoodieIndexCommitMetadata' field has been set.
* @return True if the 'hoodieIndexCommitMetadata' field has been set, false otherwise.
*/
public boolean hasHoodieIndexCommitMetadata() {
return fieldSetFlags()[14];
}
/**
* Gets the Builder instance for the 'hoodieIndexCommitMetadata' field and creates one if it doesn't exist yet.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieIndexCommitMetadata.Builder getHoodieIndexCommitMetadataBuilder() {
if (hoodieIndexCommitMetadataBuilder == null) {
if (hasHoodieIndexCommitMetadata()) {
setHoodieIndexCommitMetadataBuilder(org.apache.hudi.avro.model.HoodieIndexCommitMetadata.newBuilder(hoodieIndexCommitMetadata));
} else {
setHoodieIndexCommitMetadataBuilder(org.apache.hudi.avro.model.HoodieIndexCommitMetadata.newBuilder());
}
}
return hoodieIndexCommitMetadataBuilder;
}
/**
* Sets the Builder instance for the 'hoodieIndexCommitMetadata' field
* @param value The builder instance that must be set.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder setHoodieIndexCommitMetadataBuilder(org.apache.hudi.avro.model.HoodieIndexCommitMetadata.Builder value) {
clearHoodieIndexCommitMetadata();
hoodieIndexCommitMetadataBuilder = value;
return this;
}
/**
* Checks whether the 'hoodieIndexCommitMetadata' field has an active Builder instance
* @return True if the 'hoodieIndexCommitMetadata' field has an active Builder instance
*/
public boolean hasHoodieIndexCommitMetadataBuilder() {
return hoodieIndexCommitMetadataBuilder != null;
}
/**
* Clears the value of the 'hoodieIndexCommitMetadata' field.
* @return This builder.
*/
public org.apache.hudi.avro.model.HoodieArchivedMetaEntry.Builder clearHoodieIndexCommitMetadata() {
hoodieIndexCommitMetadata = null;
hoodieIndexCommitMetadataBuilder = null;
fieldSetFlags()[14] = false;
return this;
}
@Override
@SuppressWarnings("unchecked")
public HoodieArchivedMetaEntry build() {
try {
HoodieArchivedMetaEntry record = new HoodieArchivedMetaEntry();
if (hoodieCommitMetadataBuilder != null) {
record.hoodieCommitMetadata = this.hoodieCommitMetadataBuilder.build();
} else {
record.hoodieCommitMetadata = fieldSetFlags()[0] ? this.hoodieCommitMetadata : (org.apache.hudi.avro.model.HoodieCommitMetadata) defaultValue(fields()[0]);
}
if (hoodieCleanMetadataBuilder != null) {
record.hoodieCleanMetadata = this.hoodieCleanMetadataBuilder.build();
} else {
record.hoodieCleanMetadata = fieldSetFlags()[1] ? this.hoodieCleanMetadata : (org.apache.hudi.avro.model.HoodieCleanMetadata) defaultValue(fields()[1]);
}
if (hoodieCompactionMetadataBuilder != null) {
record.hoodieCompactionMetadata = this.hoodieCompactionMetadataBuilder.build();
} else {
record.hoodieCompactionMetadata = fieldSetFlags()[2] ? this.hoodieCompactionMetadata : (org.apache.hudi.avro.model.HoodieCompactionMetadata) defaultValue(fields()[2]);
}
if (hoodieRollbackMetadataBuilder != null) {
record.hoodieRollbackMetadata = this.hoodieRollbackMetadataBuilder.build();
} else {
record.hoodieRollbackMetadata = fieldSetFlags()[3] ? this.hoodieRollbackMetadata : (org.apache.hudi.avro.model.HoodieRollbackMetadata) defaultValue(fields()[3]);
}
if (hoodieSavePointMetadataBuilder != null) {
record.hoodieSavePointMetadata = this.hoodieSavePointMetadataBuilder.build();
} else {
record.hoodieSavePointMetadata = fieldSetFlags()[4] ? this.hoodieSavePointMetadata : (org.apache.hudi.avro.model.HoodieSavepointMetadata) defaultValue(fields()[4]);
}
record.commitTime = fieldSetFlags()[5] ? this.commitTime : (java.lang.String) defaultValue(fields()[5]);
record.actionType = fieldSetFlags()[6] ? this.actionType : (java.lang.String) defaultValue(fields()[6]);
record.version = fieldSetFlags()[7] ? this.version : (java.lang.Integer) defaultValue(fields()[7]);
if (hoodieCompactionPlanBuilder != null) {
record.hoodieCompactionPlan = this.hoodieCompactionPlanBuilder.build();
} else {
record.hoodieCompactionPlan = fieldSetFlags()[8] ? this.hoodieCompactionPlan : (org.apache.hudi.avro.model.HoodieCompactionPlan) defaultValue(fields()[8]);
}
if (hoodieCleanerPlanBuilder != null) {
record.hoodieCleanerPlan = this.hoodieCleanerPlanBuilder.build();
} else {
record.hoodieCleanerPlan = fieldSetFlags()[9] ? this.hoodieCleanerPlan : (org.apache.hudi.avro.model.HoodieCleanerPlan) defaultValue(fields()[9]);
}
record.actionState = fieldSetFlags()[10] ? this.actionState : (java.lang.String) defaultValue(fields()[10]);
if (hoodieReplaceCommitMetadataBuilder != null) {
record.hoodieReplaceCommitMetadata = this.hoodieReplaceCommitMetadataBuilder.build();
} else {
record.hoodieReplaceCommitMetadata = fieldSetFlags()[11] ? this.hoodieReplaceCommitMetadata : (org.apache.hudi.avro.model.HoodieReplaceCommitMetadata) defaultValue(fields()[11]);
}
if (hoodieRequestedReplaceMetadataBuilder != null) {
record.hoodieRequestedReplaceMetadata = this.hoodieRequestedReplaceMetadataBuilder.build();
} else {
record.hoodieRequestedReplaceMetadata = fieldSetFlags()[12] ? this.hoodieRequestedReplaceMetadata : (org.apache.hudi.avro.model.HoodieRequestedReplaceMetadata) defaultValue(fields()[12]);
}
if (HoodieInflightReplaceMetadataBuilder != null) {
record.HoodieInflightReplaceMetadata = this.HoodieInflightReplaceMetadataBuilder.build();
} else {
record.HoodieInflightReplaceMetadata = fieldSetFlags()[13] ? this.HoodieInflightReplaceMetadata : (org.apache.hudi.avro.model.HoodieCommitMetadata) defaultValue(fields()[13]);
}
if (hoodieIndexCommitMetadataBuilder != null) {
record.hoodieIndexCommitMetadata = this.hoodieIndexCommitMetadataBuilder.build();
} else {
record.hoodieIndexCommitMetadata = fieldSetFlags()[14] ? this.hoodieIndexCommitMetadata : (org.apache.hudi.avro.model.HoodieIndexCommitMetadata) defaultValue(fields()[14]);
}
return record;
} catch (java.lang.Exception e) {
throw new org.apache.avro.AvroRuntimeException(e);
}
}
}
@SuppressWarnings("unchecked")
private static final org.apache.avro.io.DatumWriter
WRITER$ = (org.apache.avro.io.DatumWriter)MODEL$.createDatumWriter(SCHEMA$);
@Override public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException {
WRITER$.write(this, SpecificData.getEncoder(out));
}
@SuppressWarnings("unchecked")
private static final org.apache.avro.io.DatumReader
READER$ = (org.apache.avro.io.DatumReader)MODEL$.createDatumReader(SCHEMA$);
@Override public void readExternal(java.io.ObjectInput in)
throws java.io.IOException {
READER$.read(this, SpecificData.getDecoder(in));
}
}