public static class DataBlock.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<DataBlock> implements org.apache.avro.data.RecordBuilder<DataBlock>
Modifier and Type | Method and Description |
---|---|
DataBlock |
build() |
DataBlock.Builder |
clearBaseTimestamp()
Clears the value of the 'baseTimestamp' field.
|
DataBlock.Builder |
clearValues()
Clears the value of the 'values' field.
|
Long |
getBaseTimestamp()
Gets the value of the 'baseTimestamp' field.
|
List<DataRow> |
getValues()
Gets the value of the 'values' field.
|
boolean |
hasBaseTimestamp()
Checks whether the 'baseTimestamp' field has been set.
|
boolean |
hasValues()
Checks whether the 'values' field has been set.
|
DataBlock.Builder |
setBaseTimestamp(long value)
Sets the value of the 'baseTimestamp' field.
|
DataBlock.Builder |
setValues(List<DataRow> value)
Sets the value of the 'values' field.
|
public Long getBaseTimestamp()
public DataBlock.Builder setBaseTimestamp(long value)
value
- The value of 'baseTimestamp'.public boolean hasBaseTimestamp()
public DataBlock.Builder clearBaseTimestamp()
public List<DataRow> getValues()
public DataBlock.Builder setValues(List<DataRow> value)
value
- The value of 'values'.public boolean hasValues()
public DataBlock.Builder clearValues()
Copyright © 2018 SPF4J. All rights reserved.