Class DatasetFieldMapping.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DatasetFieldMapping.Builder>
co.elastic.clients.elasticsearch.esql.DatasetFieldMapping.Builder
- All Implemented Interfaces:
WithJson<DatasetFieldMapping.Builder>,ObjectBuilder<DatasetFieldMapping>
- Enclosing class:
- DatasetFieldMapping
public static class DatasetFieldMapping.Builder
extends WithJsonObjectBuilderBase<DatasetFieldMapping.Builder>
implements ObjectBuilder<DatasetFieldMapping>
Builder for
DatasetFieldMapping.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDatasetFieldMapping.The date-parse pattern for a declareddatecolumn, mirroring the index date-fieldformat.The underlying file column that this logical column reads from.protected DatasetFieldMapping.Builderself()Required - The declared column type.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Required - The declared column type.API name:
type -
path
The underlying file column that this logical column reads from. This is a read-path rename: the physical column becomes this single logical column.API name:
path -
format
The date-parse pattern for a declareddatecolumn, mirroring the index date-fieldformat.API name:
format -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<DatasetFieldMapping.Builder>
-
build
Builds aDatasetFieldMapping.- Specified by:
buildin interfaceObjectBuilder<DatasetFieldMapping>- Throws:
NullPointerException- if some of the required fields are null.
-