org.kitesdk.data.mapreduce
Class DatasetKeyOutputFormat.ConfigBuilder

java.lang.Object
  extended by org.kitesdk.data.mapreduce.DatasetKeyOutputFormat.ConfigBuilder
Enclosing class:
DatasetKeyOutputFormat<E>

public static class DatasetKeyOutputFormat.ConfigBuilder
extends Object


Method Summary
<E> DatasetKeyOutputFormat.ConfigBuilder
withType(Class<E> type)
           
 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)
          Adds configuration for DatasetKeyOutputFormat to write to the given Dataset or View instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

writeTo

public DatasetKeyOutputFormat.ConfigBuilder writeTo(URI uri)
Adds configuration for 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.

Parameters:
uri - a dataset or view URI
Returns:
this for method chaining

writeTo

public DatasetKeyOutputFormat.ConfigBuilder writeTo(View<?> view)
Adds configuration for DatasetKeyOutputFormat to write to the given Dataset or View instance.

Parameters:
view - a dataset or view
Returns:
this for method chaining

writeTo

public DatasetKeyOutputFormat.ConfigBuilder writeTo(String uri)
Adds configuration for 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.

Parameters:
uri - a dataset or view URI string
Returns:
this for method chaining

withType

public <E> DatasetKeyOutputFormat.ConfigBuilder withType(Class<E> type)


Copyright © 2013–2014. All rights reserved.