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