public static class ChukwaChunk.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<ChukwaChunk> implements org.apache.avro.data.RecordBuilder<ChukwaChunk>
Modifier and Type | Method and Description |
---|---|
ChukwaChunk |
build() |
ChukwaChunk.Builder |
clearData()
Clears the value of the 'data' field
|
ChukwaChunk.Builder |
clearDatatype()
Clears the value of the 'datatype' field
|
ChukwaChunk.Builder |
clearName()
Clears the value of the 'name' field
|
ChukwaChunk.Builder |
clearSequenceID()
Clears the value of the 'sequenceID' field
|
ChukwaChunk.Builder |
clearSource()
Clears the value of the 'source' field
|
ChukwaChunk.Builder |
clearTags()
Clears the value of the 'tags' field
|
ByteBuffer |
getData()
Gets the value of the 'data' field
|
CharSequence |
getDatatype()
Gets the value of the 'datatype' field
|
CharSequence |
getName()
Gets the value of the 'name' field
|
Long |
getSequenceID()
Gets the value of the 'sequenceID' field
|
CharSequence |
getSource()
Gets the value of the 'source' field
|
CharSequence |
getTags()
Gets the value of the 'tags' field
|
boolean |
hasData()
Checks whether the 'data' field has been set
|
boolean |
hasDatatype()
Checks whether the 'datatype' field has been set
|
boolean |
hasName()
Checks whether the 'name' field has been set
|
boolean |
hasSequenceID()
Checks whether the 'sequenceID' field has been set
|
boolean |
hasSource()
Checks whether the 'source' field has been set
|
boolean |
hasTags()
Checks whether the 'tags' field has been set
|
ChukwaChunk.Builder |
setData(ByteBuffer value)
Sets the value of the 'data' field
|
ChukwaChunk.Builder |
setDatatype(CharSequence value)
Sets the value of the 'datatype' field
|
ChukwaChunk.Builder |
setName(CharSequence value)
Sets the value of the 'name' field
|
ChukwaChunk.Builder |
setSequenceID(Long value)
Sets the value of the 'sequenceID' field
|
ChukwaChunk.Builder |
setSource(CharSequence value)
Sets the value of the 'source' field
|
ChukwaChunk.Builder |
setTags(CharSequence value)
Sets the value of the 'tags' field
|
public CharSequence getSource()
public ChukwaChunk.Builder setSource(CharSequence value)
value
- is a stringpublic boolean hasSource()
public ChukwaChunk.Builder clearSource()
public CharSequence getTags()
public ChukwaChunk.Builder setTags(CharSequence value)
value
- is a stringpublic boolean hasTags()
public ChukwaChunk.Builder clearTags()
public CharSequence getDatatype()
public ChukwaChunk.Builder setDatatype(CharSequence value)
value
- is a stringpublic boolean hasDatatype()
public ChukwaChunk.Builder clearDatatype()
public Long getSequenceID()
public ChukwaChunk.Builder setSequenceID(Long value)
value
- is a stringpublic boolean hasSequenceID()
public ChukwaChunk.Builder clearSequenceID()
public CharSequence getName()
public ChukwaChunk.Builder setName(CharSequence value)
value
- is a stringpublic boolean hasName()
public ChukwaChunk.Builder clearName()
public ByteBuffer getData()
public ChukwaChunk.Builder setData(ByteBuffer value)
value
- is a stringpublic boolean hasData()
public ChukwaChunk.Builder clearData()
public ChukwaChunk build()
build
in interface org.apache.avro.data.RecordBuilder<ChukwaChunk>
Copyright © 2016 Apache Software Foundation. All Rights Reserved.