/** * Creates a {@link JavaPairRDD} from the given {@link Dataset} with the given set of dataset arguments. * * @param datasetName name of the dataset * @param arguments arguments for the dataset * @param <K> key type * @param <V> value type * @return A new {@link JavaPairRDD} instance that reads from the given dataset * @throws DatasetInstantiationException if the dataset doesn't exist */ public <K, V> JavaPairRDD<K, V> fromDataset(String datasetName, Map<String, String> arguments) { return fromDataset(datasetName, arguments, null); }
/** * Creates a {@link JavaPairRDD} from the given {@link Dataset} with the given set of dataset arguments. * * @param datasetName name of the dataset * @param arguments arguments for the dataset * @param <K> key type * @param <V> value type * @return A new {@link JavaPairRDD} instance that reads from the given dataset * @throws DatasetInstantiationException if the dataset doesn't exist */ public <K, V> JavaPairRDD<K, V> fromDataset(String datasetName, Map<String, String> arguments) { return fromDataset(datasetName, arguments, null); }
/** * Creates a {@link JavaPairRDD} from the given {@link Dataset} with the given set of dataset arguments. * * @param datasetName name of the dataset * @param arguments arguments for the dataset * @param <K> key type * @param <V> value type * @return A new {@link JavaPairRDD} instance that reads from the given dataset * @throws DatasetInstantiationException if the dataset doesn't exist */ public <K, V> JavaPairRDD<K, V> fromDataset(String datasetName, Map<String, String> arguments) { return fromDataset(datasetName, arguments, null); }
/** * Creates a {@link JavaPairRDD} from the given {@link Dataset} with the given set of dataset arguments. * * @param namespace namespace in which the dataset exists * @param datasetName name of the dataset * @param arguments arguments for the dataset * @param <K> key type * @param <V> value type * @return A new {@link JavaPairRDD} instance that reads from the given dataset * @throws DatasetInstantiationException if the dataset doesn't exist */ public <K, V> JavaPairRDD<K, V> fromDataset(String namespace, String datasetName, Map<String, String> arguments) { return fromDataset(namespace, datasetName, arguments, null); }
/** * Creates a {@link JavaPairRDD} from the given {@link Dataset} with the given set of dataset arguments. * * @param namespace namespace in which the dataset exists * @param datasetName name of the dataset * @param arguments arguments for the dataset * @param <K> key type * @param <V> value type * @return A new {@link JavaPairRDD} instance that reads from the given dataset * @throws DatasetInstantiationException if the dataset doesn't exist */ public <K, V> JavaPairRDD<K, V> fromDataset(String namespace, String datasetName, Map<String, String> arguments) { return fromDataset(namespace, datasetName, arguments, null); }
/** * Creates a {@link JavaPairRDD} from the given {@link Dataset} with the given set of dataset arguments. * * @param namespace namespace in which the dataset exists * @param datasetName name of the dataset * @param arguments arguments for the dataset * @param <K> key type * @param <V> value type * @return A new {@link JavaPairRDD} instance that reads from the given dataset * @throws DatasetInstantiationException if the dataset doesn't exist */ public <K, V> JavaPairRDD<K, V> fromDataset(String namespace, String datasetName, Map<String, String> arguments) { return fromDataset(namespace, datasetName, arguments, null); }
/** * Creates a {@link JavaPairRDD} from the given {@link Dataset}. * * @param datasetName name of the dataset * @param <K> key type * @param <V> value type * @return A new {@link JavaPairRDD} instance that reads from the given dataset * @throws DatasetInstantiationException if the dataset doesn't exist */ public <K, V> JavaPairRDD<K, V> fromDataset(String datasetName) { return fromDataset(datasetName, Collections.<String, String>emptyMap()); }
/** * Creates a {@link JavaPairRDD} from the given {@link Dataset}. * * @param datasetName name of the dataset * @param <K> key type * @param <V> value type * @return A new {@link JavaPairRDD} instance that reads from the given dataset * @throws DatasetInstantiationException if the dataset doesn't exist */ public <K, V> JavaPairRDD<K, V> fromDataset(String datasetName) { return fromDataset(datasetName, Collections.<String, String>emptyMap()); }
/** * Creates a {@link JavaPairRDD} from the given {@link Dataset}. * * @param datasetName name of the dataset * @param <K> key type * @param <V> value type * @return A new {@link JavaPairRDD} instance that reads from the given dataset * @throws DatasetInstantiationException if the dataset doesn't exist */ public <K, V> JavaPairRDD<K, V> fromDataset(String datasetName) { return fromDataset(datasetName, Collections.<String, String>emptyMap()); }
/** * Creates a {@link JavaPairRDD} from the given {@link Dataset}. * * @param namespace namespace in which the dataset exists * @param datasetName name of the dataset * @param <K> key type * @param <V> value type * @return A new {@link JavaPairRDD} instance that reads from the given dataset * @throws DatasetInstantiationException if the dataset doesn't exist */ public <K, V> JavaPairRDD<K, V> fromDataset(String namespace, String datasetName) { return fromDataset(namespace, datasetName, Collections.<String, String>emptyMap()); }
/** * Creates a {@link JavaPairRDD} from the given {@link Dataset}. * * @param namespace namespace in which the dataset exists * @param datasetName name of the dataset * @param <K> key type * @param <V> value type * @return A new {@link JavaPairRDD} instance that reads from the given dataset * @throws DatasetInstantiationException if the dataset doesn't exist */ public <K, V> JavaPairRDD<K, V> fromDataset(String namespace, String datasetName) { return fromDataset(namespace, datasetName, Collections.<String, String>emptyMap()); }
/** * Creates a {@link JavaPairRDD} from the given {@link Dataset}. * * @param namespace namespace in which the dataset exists * @param datasetName name of the dataset * @param <K> key type * @param <V> value type * @return A new {@link JavaPairRDD} instance that reads from the given dataset * @throws DatasetInstantiationException if the dataset doesn't exist */ public <K, V> JavaPairRDD<K, V> fromDataset(String namespace, String datasetName) { return fromDataset(namespace, datasetName, Collections.<String, String>emptyMap()); }