if (dimensionCnt == 2)
{
// Case: table.super_cf[<rowKey>][<superColumnKey>][<columnKey>]
ConstantOperand superColumnKey = new ConstantOperand(getColumn(columnFamilySpec, 0));
ConstantOperand columnKey = new ConstantOperand(getColumn(columnFamilySpec, 1));
rwsDef = new UniqueKeyQueryRSD(cfMetaData, rowKey, superColumnKey, columnKey);
}
else if (dimensionCnt == 1)
{
// Case: table.super_cf[<rowKey>][<superColumnKey>]
ConstantOperand superColumnKey = new ConstantOperand(getColumn(columnFamilySpec, 0));
rwsDef = new ColumnRangeQueryRSD(cfMetaData, rowKey, superColumnKey, -1, Integer.MAX_VALUE);
}
else
{
// Case: table.super_cf[<rowKey>]
rwsDef = new SuperColumnRangeQueryRSD(cfMetaData, rowKey, -1, Integer.MAX_VALUE);
}
}
else // Standard Column Family
{
if (dimensionCnt == 1)
{
// Case: table.standard_cf[<rowKey>][<columnKey>]
ConstantOperand columnKey = new ConstantOperand(getColumn(columnFamilySpec, 0));
rwsDef = new UniqueKeyQueryRSD(cfMetaData, rowKey, columnKey);
}
else
{
// Case: table.standard_cf[<rowKey>]
logger_.assertLog((dimensionCnt == 0), "invalid dimensionCnt: " + dimensionCnt);