public static class DatasetKeyOutputFormat.ConfigBuilder extends Object
Modifier and Type | Method and Description |
---|---|
DatasetKeyOutputFormat.ConfigBuilder |
appendTo(String uri)
Adds configuration for
DatasetKeyOutputFormat to append to the
given dataset or view URI, leaving any existing data intact. |
DatasetKeyOutputFormat.ConfigBuilder |
appendTo(URI uri)
Adds configuration for
DatasetKeyOutputFormat to append to the
given dataset or view URI, leaving any existing data intact. |
DatasetKeyOutputFormat.ConfigBuilder |
appendTo(View<?> view)
Adds configuration for
DatasetKeyOutputFormat to append to the
given dataset or view URI, leaving any existing data intact. |
DatasetKeyOutputFormat.ConfigBuilder |
overwrite(String uri)
Adds configuration for
DatasetKeyOutputFormat to write to the
given dataset or view URI string after removing any existing data. |
DatasetKeyOutputFormat.ConfigBuilder |
overwrite(URI uri)
Adds configuration for
DatasetKeyOutputFormat to write to the
given dataset or view URI after removing any existing data. |
DatasetKeyOutputFormat.ConfigBuilder |
overwrite(View<?> view)
|
<E> DatasetKeyOutputFormat.ConfigBuilder |
withType(Class<E> type)
Sets the entity Class that will be output by the Job.
|
DatasetKeyOutputFormat.ConfigBuilder |
writeTo(String uri)
Adds configuration for
DatasetKeyOutputFormat to write to the
given dataset or view URI string. |
DatasetKeyOutputFormat.ConfigBuilder |
writeTo(URI uri)
Adds configuration for
DatasetKeyOutputFormat to write to the
given dataset or view URI. |
DatasetKeyOutputFormat.ConfigBuilder |
writeTo(View<?> view)
|
public DatasetKeyOutputFormat.ConfigBuilder writeTo(URI uri)
DatasetKeyOutputFormat
to write to the
given dataset or view URI.
URI formats are defined by Dataset
implementations, but must
begin with "dataset:" or "view:". For more information, see
Datasets
.
uri
- a dataset or view URIpublic DatasetKeyOutputFormat.ConfigBuilder overwrite(URI uri)
DatasetKeyOutputFormat
to write to the
given dataset or view URI after removing any existing data.
The underlying dataset implementation must support View#deleteAll for the view identified by the URI or the job will fail.
URI formats are defined by Dataset
implementations, but must
begin with "dataset:" or "view:". For more information, see
Datasets
.
uri
- a dataset or view URIpublic DatasetKeyOutputFormat.ConfigBuilder appendTo(URI uri)
DatasetKeyOutputFormat
to append to the
given dataset or view URI, leaving any existing data intact.
URI formats are defined by Dataset
implementations, but must
begin with "dataset:" or "view:". For more information, see
Datasets
.
uri
- a dataset or view URIpublic DatasetKeyOutputFormat.ConfigBuilder writeTo(View<?> view)
view
- a dataset or viewpublic DatasetKeyOutputFormat.ConfigBuilder overwrite(View<?> view)
DatasetKeyOutputFormat
to write to the
given Dataset
or View
instance after removing any
existing data.
The underlying dataset implementation must support View#deleteAll for
the view
or the job will fail.
view
- a dataset or viewpublic DatasetKeyOutputFormat.ConfigBuilder appendTo(View<?> view)
DatasetKeyOutputFormat
to append to the
given dataset or view URI, leaving any existing data intact.view
- a dataset or viewpublic DatasetKeyOutputFormat.ConfigBuilder writeTo(String uri)
DatasetKeyOutputFormat
to write to the
given dataset or view URI string.
URI formats are defined by Dataset
implementations, but must
begin with "dataset:" or "view:". For more information, see
Datasets
.
uri
- a dataset or view URI stringpublic DatasetKeyOutputFormat.ConfigBuilder overwrite(String uri)
DatasetKeyOutputFormat
to write to the
given dataset or view URI string after removing any existing data.
The underlying dataset implementation must support View#deleteAll for the view identified by the URI string or the job will fail.
URI formats are defined by Dataset
implementations, but must
begin with "dataset:" or "view:". For more information, see
Datasets
.
uri
- a dataset or view URI stringpublic DatasetKeyOutputFormat.ConfigBuilder appendTo(String uri)
DatasetKeyOutputFormat
to append to the
given dataset or view URI, leaving any existing data intact.
URI formats are defined by Dataset
implementations, but must
begin with "dataset:" or "view:". For more information, see
Datasets
.
uri
- a dataset or view URI stringpublic <E> DatasetKeyOutputFormat.ConfigBuilder withType(Class<E> type)
This Class is used to configure the output Dataset
.
type
- the entity Class that will be producedCopyright © 2013–2015. All rights reserved.