org.kitesdk.data.mapreduce
Class DatasetKeyInputFormat.ConfigBuilder

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

public static class DatasetKeyInputFormat.ConfigBuilder
extends Object


Method Summary
 DatasetKeyInputFormat.ConfigBuilder readFrom(String uri)
          Adds configuration for DatasetKeyInputFormat to read from the given dataset or view URI string.
 DatasetKeyInputFormat.ConfigBuilder readFrom(URI uri)
          Adds configuration for DatasetKeyInputFormat to read from the given dataset or view URI.
 DatasetKeyInputFormat.ConfigBuilder readFrom(View<?> view)
          Adds configuration for DatasetKeyInputFormat to read from the given Dataset or View instance.
<E> DatasetKeyInputFormat.ConfigBuilder
withType(Class<E> type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readFrom

public DatasetKeyInputFormat.ConfigBuilder readFrom(URI uri)
Adds configuration for DatasetKeyInputFormat to read from 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

readFrom

public DatasetKeyInputFormat.ConfigBuilder readFrom(View<?> view)
Adds configuration for DatasetKeyInputFormat to read from the given Dataset or View instance.

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

readFrom

public DatasetKeyInputFormat.ConfigBuilder readFrom(String uri)
Adds configuration for DatasetKeyInputFormat to read from 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> DatasetKeyInputFormat.ConfigBuilder withType(Class<E> type)


Copyright © 2013–2014. All rights reserved.