public SuperSliceQueryImpl( Keyspace ks, SupercolumnFamily<K, T, SN, N> scf, K key, List<NamedSupercolumn<K, T, SN, N>> supercolumns) { SN[] supercolumnNames = QueryUtils.getSupercolumnNamesUnresolved(scf, supercolumns); wrappedQuery = HFactory.createSuperSliceQuery( ks, scf.getKeySerializer(), scf.getSupercolumnNameSerializer(), scf.getSubcolumnNameSerializer(), DummySerializer.get()) .setColumnFamily(scf.getName()) .setColumnNames(supercolumnNames) .setKey(key); }
public SuperSliceQueryImpl( Keyspace ks, SupercolumnFamily<K, T, SN, N> scf, K key, SupercolumnRange<K, T, SN, N> supercolumnRange, SN start, SN finish, boolean reversed, int count) { QueryUtils.checkSupercolumnBelongsToFamily(scf, supercolumnRange); wrappedQuery = HFactory.createSuperSliceQuery( ks, scf.getKeySerializer(), scf.getSupercolumnNameSerializer(), scf.getSubcolumnNameSerializer(), DummySerializer.get()) .setColumnFamily(scf.getName()) .setRange(start, finish, reversed, count) .setKey(key); }