public class GrowingObjectPut
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
GrowingObjectPut.Builder
RecordBuilder for GrowingObjectPut instances.
|
Modifier and Type | Field and Description |
---|---|
CharSequence |
contentEncoding
Deprecated.
|
CharSequence |
contentType
Deprecated.
|
ByteBuffer |
data
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
CharSequence |
uri
Deprecated.
|
Constructor and Description |
---|
GrowingObjectPut()
Default constructor.
|
GrowingObjectPut(CharSequence uri,
CharSequence contentType,
CharSequence contentEncoding,
ByteBuffer data)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
CharSequence |
getContentEncoding()
Gets the value of the 'contentEncoding' field.
|
CharSequence |
getContentType()
Gets the value of the 'contentType' field.
|
ByteBuffer |
getData()
Gets the value of the 'data' field.
|
org.apache.avro.Schema |
getSchema() |
CharSequence |
getUri()
Gets the value of the 'uri' field.
|
static GrowingObjectPut.Builder |
newBuilder()
Creates a new GrowingObjectPut RecordBuilder
|
static GrowingObjectPut.Builder |
newBuilder(GrowingObjectPut.Builder other)
Creates a new GrowingObjectPut RecordBuilder by copying an existing Builder
|
static GrowingObjectPut.Builder |
newBuilder(GrowingObjectPut other)
Creates a new GrowingObjectPut RecordBuilder by copying an existing GrowingObjectPut instance
|
void |
put(int field$,
Object value$) |
void |
setContentEncoding(CharSequence value)
Sets the value of the 'contentEncoding' field.
|
void |
setContentType(CharSequence value)
Sets the value of the 'contentType' field.
|
void |
setData(ByteBuffer value)
Sets the value of the 'data' field.
|
void |
setUri(CharSequence value)
Sets the value of the 'uri' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence uri
@Deprecated public CharSequence contentType
@Deprecated public CharSequence contentEncoding
@Deprecated public ByteBuffer data
public GrowingObjectPut()
newBuilder()
.public GrowingObjectPut(CharSequence uri, CharSequence contentType, CharSequence contentEncoding, ByteBuffer data)
public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
getSchema
in class org.apache.avro.specific.SpecificRecordBase
public Object get(int field$)
get
in interface org.apache.avro.generic.IndexedRecord
get
in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$, Object value$)
put
in interface org.apache.avro.generic.IndexedRecord
put
in class org.apache.avro.specific.SpecificRecordBase
public CharSequence getUri()
public void setUri(CharSequence value)
value
- the value to set.public CharSequence getContentType()
public void setContentType(CharSequence value)
value
- the value to set.public CharSequence getContentEncoding()
public void setContentEncoding(CharSequence value)
value
- the value to set.public ByteBuffer getData()
public void setData(ByteBuffer value)
value
- the value to set.public static GrowingObjectPut.Builder newBuilder()
public static GrowingObjectPut.Builder newBuilder(GrowingObjectPut.Builder other)
public static GrowingObjectPut.Builder newBuilder(GrowingObjectPut other)
Copyright © 2023 Petroware AS - https://petroware.no