public abstract static class ColumnFamily.Factory<T extends ColumnFamily>
extends java.lang.Object
Constructor and Description |
---|
ColumnFamily.Factory() |
Modifier and Type | Method and Description |
---|---|
T |
create(CFMetaData metadata) |
abstract T |
create(CFMetaData metadata,
boolean insertReversed)
Returns a (initially empty) column map whose columns are sorted
according to the provided comparator.
|
T |
create(java.lang.String keyspace,
java.lang.String cfName) |
public abstract T create(CFMetaData metadata, boolean insertReversed)
insertReversed
flag is an hint on how we expect insertion to be perfomed,
either in sorted or reverse sorted order. This is used by ArrayBackedSortedColumns to
allow optimizing for both forward and reversed slices. This does not matter for ThreadSafeSortedColumns.
Note that this is only an hint on how we expect to do insertion, this does not change the map sorting.public T create(CFMetaData metadata)
public T create(java.lang.String keyspace, java.lang.String cfName)
Copyright © 2013 The Apache Software Foundation