public static IEnumerable <IFluentColumnFamily <CompareWith> > Get <CompareWith>(this CassandraColumnFamily <CompareWith> family, BytesType startKey, BytesType endKey, string startToken, string endToken, int keyCount, CompareWith columnStart, CompareWith columnEnd, bool columnsReversed = false, int columnCount = 100) where CompareWith : CassandraType { var op = new GetColumnFamilyRangeSlices <CompareWith>(new CassandraKeyRange(startKey, endKey, startToken, endToken, keyCount), new RangeSlicePredicate(columnStart, columnEnd, columnsReversed, columnCount)); return(family.ExecuteOperation(op)); }
// get_range_slice public static IEnumerable <IFluentColumnFamily <CompareWith> > Get <CompareWith>(this CassandraColumnFamily <CompareWith> family, BytesType startKey, BytesType endKey, string startToken, string endToken, int keyCount, IEnumerable <CompareWith> columnNames) where CompareWith : CassandraType { var op = new GetColumnFamilyRangeSlices <CompareWith>(new CassandraKeyRange(startKey, endKey, startToken, endToken, keyCount), new ColumnSlicePredicate(columnNames)); return(family.ExecuteOperation(op)); }