public static class DataFrame.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<DataFrame> implements org.apache.avro.data.RecordBuilder<DataFrame>
Modifier and Type | Method and Description |
---|---|
DataFrame |
build() |
DataFrame.Builder |
clearData()
Clears the value of the 'data' field
|
DataFrame.Builder |
clearIndex()
Clears the value of the 'index' field
|
List<DataValue> |
getData()
Gets the value of the 'data' field
|
List<Long> |
getIndex()
Gets the value of the 'index' field
|
boolean |
hasData()
Checks whether the 'data' field has been set
|
boolean |
hasIndex()
Checks whether the 'index' field has been set
|
DataFrame.Builder |
setData(List<DataValue> value)
Sets the value of the 'data' field
|
DataFrame.Builder |
setIndex(List<Long> value)
Sets the value of the 'index' field
|
public DataFrame.Builder setIndex(List<Long> value)
public boolean hasIndex()
public DataFrame.Builder clearIndex()
public DataFrame.Builder setData(List<DataValue> value)
public boolean hasData()
public DataFrame.Builder clearData()
Copyright © 2023 Petroware AS - https://petroware.no