/** * @see {@link #keyBy(RowReaderFactory, ClassTag, ColumnRef...)} */ public <K> CassandraJavaPairRDD<K, R> keyBy( RowReaderFactory<K> rrf, Class<K> keyClass, String... columnNames) { ColumnRef[] columnRefs = toSelectableColumnRefs(columnNames); return keyBy(rrf, JavaApiHelper.getClassTag(keyClass), columnRefs); }
/** * @see {@link #keyBy(RowReaderFactory, ClassTag, ColumnRef...)} */ public <K> CassandraJavaPairRDD<K, R> keyBy( RowReaderFactory<K> rrf, RowWriterFactory<K> rwf, Class<K> keyClass, String... columnNames) { ColumnRef[] columnRefs = toSelectableColumnRefs(columnNames); return keyBy(JavaApiHelper.getClassTag(keyClass), rrf, rwf, columnRefs); }
/** * @see {@link #keyBy(RowReaderFactory, ClassTag, ColumnRef...)} */ public <K> CassandraJavaPairRDD<K, R> keyBy( RowReaderFactory<K> rrf, RowWriterFactory<K> rwf, Class<K> keyClass, String... columnNames) { ColumnRef[] columnRefs = toSelectableColumnRefs(columnNames); return keyBy(JavaApiHelper.getClassTag(keyClass), rrf, rwf, columnRefs); }
/** * @see {@link #keyBy(RowReaderFactory, ClassTag, ColumnRef...)} */ public <K> CassandraJavaPairRDD<K, R> keyBy( RowReaderFactory<K> rrf, RowWriterFactory<K> rwf, Class<K> keyClass, String... columnNames) { ColumnRef[] columnRefs = toSelectableColumnRefs(columnNames); return keyBy(JavaApiHelper.getClassTag(keyClass), rrf, rwf, columnRefs); }
/** * @see {@link #keyBy(RowReaderFactory, ClassTag, ColumnRef...)} */ public <K> CassandraJavaPairRDD<K, R> keyBy( RowReaderFactory<K> rrf, Class<K> keyClass, String... columnNames) { ColumnRef[] columnRefs = toSelectableColumnRefs(columnNames); return keyBy(rrf, JavaApiHelper.getClassTag(keyClass), columnRefs); }
/** * Narrows down the selected set of columns. * <p/> * Use this for better performance, when you don't need all the columns in the result RDD. When * called multiple times, it selects the subset of the already selected columns, so after a column * was removed by the previous {@code select} call, it is not possible to add it back. */ public CassandraJavaRDD<R> select(String... columnNames) { Seq<ColumnRef> columnRefs = toScalaSeq(toSelectableColumnRefs(columnNames)); CassandraRDD<R> newRDD = rdd().select(columnRefs); return wrap(newRDD); }
/** * Narrows down the selected set of columns. * <p/> * Use this for better performance, when you don't need all the columns in the result RDD. When * called multiple times, it selects the subset of the already selected columns, so after a column * was removed by the previous {@code select} call, it is not possible to add it back. */ public CassandraJavaRDD<R> select(String... columnNames) { Seq<ColumnRef> columnRefs = toScalaSeq(toSelectableColumnRefs(columnNames)); CassandraRDD<R> newRDD = rdd().select(columnRefs); return wrap(newRDD); }
/** * Narrows down the selected set of columns. * <p/> * Use this for better performance, when you don't need all the columns in the result RDD. When * called multiple times, it selects the subset of the already selected columns, so after a column * was removed by the previous {@code select} call, it is not possible to add it back. */ public CassandraJavaRDD<R> select(String... columnNames) { Seq<ColumnRef> columnRefs = toScalaSeq(toSelectableColumnRefs(columnNames)); CassandraRDD<R> newRDD = rdd().select(columnRefs); return wrap(newRDD); }
/** * Narrows down the selected set of columns. * <p/> * Use this for better performance, when you don't need all the columns in the result RDD. When * called multiple times, it selects the subset of the already selected columns, so after a column * was removed by the previous {@code select} call, it is not possible to add it back. */ @SuppressWarnings("unchecked") public CassandraJavaPairRDD<K, V> select(String... columnNames) { Seq<ColumnRef> columnRefs = toScalaSeq(toSelectableColumnRefs(columnNames)); CassandraRDD<Tuple2<K, V>> newRDD = rdd().select(columnRefs); return wrap(newRDD); }
/** * Narrows down the selected set of columns. * <p/> * Use this for better performance, when you don't need all the columns in the result RDD. When * called multiple times, it selects the subset of the already selected columns, so after a column * was removed by the previous {@code select} call, it is not possible to add it back. */ public CassandraJavaRDD<R> select(String... columnNames) { Seq<ColumnRef> columnRefs = toScalaSeq(toSelectableColumnRefs(columnNames)); CassandraRDD<R> newRDD = rdd().select(columnRefs); return wrap(newRDD); }
/** * Narrows down the selected set of columns. * <p/> * Use this for better performance, when you don't need all the columns in the result RDD. When * called multiple times, it selects the subset of the already selected columns, so after a column * was removed by the previous {@code select} call, it is not possible to add it back. */ public CassandraJavaRDD<R> select(String... columnNames) { Seq<ColumnRef> columnRefs = toScalaSeq(toSelectableColumnRefs(columnNames)); CassandraRDD<R> newRDD = rdd().select(columnRefs); return wrap(newRDD); }
/** * Narrows down the selected set of columns. * <p/> * Use this for better performance, when you don't need all the columns in the result RDD. When * called multiple times, it selects the subset of the already selected columns, so after a column * was removed by the previous {@code select} call, it is not possible to add it back. */ @SuppressWarnings("unchecked") public CassandraJavaPairRDD<K, V> select(String... columnNames) { Seq<ColumnRef> columnRefs = toScalaSeq(toSelectableColumnRefs(columnNames)); CassandraRDD<Tuple2<K, V>> newRDD = rdd().select(columnRefs); return wrap(newRDD); }
/** * Narrows down the selected set of columns. * <p/> * Use this for better performance, when you don't need all the columns in the result RDD. When * called multiple times, it selects the subset of the already selected columns, so after a column * was removed by the previous {@code select} call, it is not possible to add it back. */ @SuppressWarnings("unchecked") public CassandraJavaPairRDD<K, V> select(String... columnNames) { Seq<ColumnRef> columnRefs = toScalaSeq(toSelectableColumnRefs(columnNames)); CassandraRDD<Tuple2<K, V>> newRDD = rdd().select(columnRefs); return wrap(newRDD); }
/** * Narrows down the selected set of columns. * <p/> * Use this for better performance, when you don't need all the columns in the result RDD. When * called multiple times, it selects the subset of the already selected columns, so after a column * was removed by the previous {@code select} call, it is not possible to add it back. */ @SuppressWarnings("unchecked") public CassandraJavaPairRDD<K, V> select(String... columnNames) { Seq<ColumnRef> columnRefs = toScalaSeq(toSelectableColumnRefs(columnNames)); CassandraRDD<Tuple2<K, V>> newRDD = rdd().select(columnRefs); return wrap(newRDD); }
/** * Narrows down the selected set of columns. * <p/> * Use this for better performance, when you don't need all the columns in the result RDD. When * called multiple times, it selects the subset of the already selected columns, so after a column * was removed by the previous {@code select} call, it is not possible to add it back. */ @SuppressWarnings("unchecked") public CassandraJavaPairRDD<K, V> select(String... columnNames) { Seq<ColumnRef> columnRefs = toScalaSeq(toSelectableColumnRefs(columnNames)); CassandraRDD<Tuple2<K, V>> newRDD = rdd().select(columnRefs); return wrap(newRDD); }