use of org.apache.carbondata.core.datastore.compression.ValueCompressionHolder in project carbondata by apache.
the class ValueCompressionUtilTest method testToUnCompressNonDecimalForDouble.
@Test
public void testToUnCompressNonDecimalForDouble() {
ValueCompressionHolder result = ValueCompressionUtil.getCompressionNonDecimal(DataType.DOUBLE);
assertEquals(result.getClass(), CompressionNonDecimalDefault.class);
}
use of org.apache.carbondata.core.datastore.compression.ValueCompressionHolder in project carbondata by apache.
the class ValueCompressionUtilTest method testToUnCompressNonDecimalForShort.
@Test
public void testToUnCompressNonDecimalForShort() {
ValueCompressionHolder result = ValueCompressionUtil.getCompressionNonDecimal(DataType.SHORT);
assertEquals(result.getClass(), CompressionNonDecimalShort.class);
}
use of org.apache.carbondata.core.datastore.compression.ValueCompressionHolder in project carbondata by apache.
the class ValueCompressionUtilTest method testToUnCompressNone.
@Test
public void testToUnCompressNone() {
ValueCompressionHolder result = ValueCompressionUtil.getCompressionNone(DataType.LONG, DataType.LONG);
assertEquals(result.getClass(), CompressionNoneLong.class);
}
use of org.apache.carbondata.core.datastore.compression.ValueCompressionHolder in project carbondata by apache.
the class ValueCompressionUtilTest method testToUnCompressNoneForInt.
@Test
public void testToUnCompressNoneForInt() {
ValueCompressionHolder result = ValueCompressionUtil.getCompressionNone(DataType.INT, DataType.FLOAT);
assertEquals(result.getClass(), CompressionNoneInt.class);
}
use of org.apache.carbondata.core.datastore.compression.ValueCompressionHolder in project carbondata by apache.
the class ValueCompressionUtilTest method testToUnCompressNonDecimalMaxMinForByte.
@Test
public void testToUnCompressNonDecimalMaxMinForByte() {
ValueCompressionHolder result = ValueCompressionUtil.getCompressionNonDecimalMaxMin(DataType.BYTE);
assertEquals(result.getClass(), CompressionNonDecimalMaxMinByte.class);
}
Aggregations