use of org.apache.carbondata.core.metadata.schema.table.column.CarbonImplicitDimension in project carbondata by apache.
the class TestBlockletDataMap method setUp.
@Before
public void setUp() throws Exception {
CarbonImplicitDimension carbonImplicitDimension = new CarbonImplicitDimension(0, CarbonCommonConstants.CARBON_IMPLICIT_COLUMN_POSITIONID);
DimColumnResolvedFilterInfo dimColumnEvaluatorInfo = new DimColumnResolvedFilterInfo();
dimColumnEvaluatorInfo.setColumnIndex(0);
dimColumnEvaluatorInfo.setRowIndex(0);
dimColumnEvaluatorInfo.setDimension(carbonImplicitDimension);
dimColumnEvaluatorInfo.setDimensionExistsInCurrentSilce(false);
implicitIncludeFilterExecutor = new ImplicitIncludeFilterExecutorImpl(dimColumnEvaluatorInfo);
}
use of org.apache.carbondata.core.metadata.schema.table.column.CarbonImplicitDimension in project carbondata by apache.
the class CarbonTable method addImplicitDimension.
/**
* This method will add implict dimension into carbontable
*
* @param dimensionOrdinal
* @param dimensions
*/
private void addImplicitDimension(int dimensionOrdinal, List<CarbonDimension> dimensions) {
dimensions.add(new CarbonImplicitDimension(dimensionOrdinal, CarbonCommonConstants.CARBON_IMPLICIT_COLUMN_POSITIONID));
dimensions.add(new CarbonImplicitDimension(dimensionOrdinal + 1, CarbonCommonConstants.CARBON_IMPLICIT_COLUMN_TUPLEID));
}
Aggregations