col.setIndexedValue(pt.getRawIndexedValue());
col.setPrimaryKey(pt.getRawKey());
session.removeFromIndex(cf, indColFamily, rowKey, col);
}
public void addIndexPoint(IndexPoint pt, String partitionBy, String partitionId) {
DboColumnMeta colMeta = pt.getColumnMeta();
ScanInfo info = ScanInfo.createScanInfo(colMeta, partitionBy, partitionId);
byte[] rowKey = info.getRowKey();
String indColFamily = info.getIndexColFamily();
DboTableMeta cf = info.getEntityColFamily();
IndexColumn col = new IndexColumn();
if(colMeta != null)
col.setColumnName(colMeta.getColumnName());
col.setIndexedValue(pt.getRawIndexedValue());
col.setPrimaryKey(pt.getRawKey());
session.persistIndex(cf, indColFamily, rowKey, col);
}