public class HoodieLSMTimelineInstant
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
HoodieLSMTimelineInstant.Builder
RecordBuilder for HoodieLSMTimelineInstant instances.
|
| Modifier and Type | Field and Description |
|---|---|
String |
action
Deprecated.
|
String |
completionTime
Deprecated.
|
String |
instantTime
Deprecated.
|
ByteBuffer |
metadata
Deprecated.
|
ByteBuffer |
plan
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
int |
version
Deprecated.
|
| Constructor and Description |
|---|
HoodieLSMTimelineInstant()
Default constructor.
|
HoodieLSMTimelineInstant(String instantTime,
String completionTime,
String action,
ByteBuffer metadata,
ByteBuffer plan,
Integer version)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.message.BinaryMessageDecoder<HoodieLSMTimelineInstant> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore. |
static HoodieLSMTimelineInstant |
fromByteBuffer(ByteBuffer b)
Deserializes a HoodieLSMTimelineInstant from a ByteBuffer.
|
Object |
get(int field$) |
String |
getAction()
Gets the value of the 'action' field.
|
static org.apache.avro.Schema |
getClassSchema() |
String |
getCompletionTime()
Gets the value of the 'completionTime' field.
|
static org.apache.avro.message.BinaryMessageDecoder<HoodieLSMTimelineInstant> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
String |
getInstantTime()
Gets the value of the 'instantTime' field.
|
ByteBuffer |
getMetadata()
Gets the value of the 'metadata' field.
|
ByteBuffer |
getPlan()
Gets the value of the 'plan' field.
|
org.apache.avro.Schema |
getSchema() |
Integer |
getVersion()
Gets the value of the 'version' field.
|
static HoodieLSMTimelineInstant.Builder |
newBuilder()
Creates a new HoodieLSMTimelineInstant RecordBuilder.
|
static HoodieLSMTimelineInstant.Builder |
newBuilder(HoodieLSMTimelineInstant.Builder other)
Creates a new HoodieLSMTimelineInstant RecordBuilder by copying an existing Builder.
|
static HoodieLSMTimelineInstant.Builder |
newBuilder(HoodieLSMTimelineInstant other)
Creates a new HoodieLSMTimelineInstant RecordBuilder by copying an existing HoodieLSMTimelineInstant instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setAction(String value)
Sets the value of the 'action' field.
|
void |
setCompletionTime(String value)
Sets the value of the 'completionTime' field.
|
void |
setInstantTime(String value)
Sets the value of the 'instantTime' field.
|
void |
setMetadata(ByteBuffer value)
Sets the value of the 'metadata' field.
|
void |
setPlan(ByteBuffer value)
Sets the value of the 'plan' field.
|
void |
setVersion(Integer value)
Sets the value of the 'version' field.
|
ByteBuffer |
toByteBuffer()
Serializes this HoodieLSMTimelineInstant to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public String instantTime
@Deprecated public String completionTime
@Deprecated public String action
@Deprecated public ByteBuffer metadata
@Deprecated public ByteBuffer plan
@Deprecated public int version
public HoodieLSMTimelineInstant()
newBuilder().public HoodieLSMTimelineInstant(String instantTime, String completionTime, String action, ByteBuffer metadata, ByteBuffer plan, Integer version)
instantTime - The new value for instantTimecompletionTime - The new value for completionTimeaction - The new value for actionmetadata - The new value for metadataplan - The new value for planversion - The new value for versionpublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<HoodieLSMTimelineInstant> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<HoodieLSMTimelineInstant> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore.resolver - a SchemaStore used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOExceptionpublic static HoodieLSMTimelineInstant fromByteBuffer(ByteBuffer b) throws IOException
IOExceptionpublic org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$,
Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic String getInstantTime()
public void setInstantTime(String value)
value - the value to set.public String getCompletionTime()
public void setCompletionTime(String value)
value - the value to set.public String getAction()
public void setAction(String value)
value - the value to set.public ByteBuffer getMetadata()
public void setMetadata(ByteBuffer value)
value - the value to set.public ByteBuffer getPlan()
public void setPlan(ByteBuffer value)
value - the value to set.public Integer getVersion()
public void setVersion(Integer value)
value - the value to set.public static HoodieLSMTimelineInstant.Builder newBuilder()
public static HoodieLSMTimelineInstant.Builder newBuilder(HoodieLSMTimelineInstant.Builder other)
other - The existing builder to copy.public static HoodieLSMTimelineInstant.Builder newBuilder(HoodieLSMTimelineInstant 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.