use of org.apache.carbondata.core.datastore.compression.ValueCompressionHolder in project carbondata by apache.
the class ValueCompressionUtilTest method testToUnCompressNoneForDouble.
@Test
public void testToUnCompressNoneForDouble() {
ValueCompressionHolder result = ValueCompressionUtil.getCompressionNone(DataType.DOUBLE, DataType.FLOAT);
assertEquals(result.getClass(), CompressionNoneDefault.class);
}
use of org.apache.carbondata.core.datastore.compression.ValueCompressionHolder in project carbondata by apache.
the class ValueCompressionUtilTest method testToUnCompressNonDecimalForByte.
@Test
public void testToUnCompressNonDecimalForByte() {
ValueCompressionHolder result = ValueCompressionUtil.getCompressionNonDecimal(DataType.BYTE);
assertEquals(result.getClass(), CompressionNonDecimalByte.class);
}
use of org.apache.carbondata.core.datastore.compression.ValueCompressionHolder in project carbondata by apache.
the class ValueCompressionUtilTest method testToUnCompressNonDecimalMaxMinForInt.
@Test
public void testToUnCompressNonDecimalMaxMinForInt() {
ValueCompressionHolder result = ValueCompressionUtil.getCompressionNonDecimalMaxMin(DataType.INT);
assertEquals(result.getClass(), CompressionNonDecimalMaxMinInt.class);
}
use of org.apache.carbondata.core.datastore.compression.ValueCompressionHolder in project carbondata by apache.
the class ValueCompressionUtilTest method testToUnCompressMaxMinForShort.
@Test
public void testToUnCompressMaxMinForShort() {
ValueCompressionHolder result = ValueCompressionUtil.getCompressionDecimalMaxMin(DataType.SHORT, null);
assertEquals(result.getClass(), CompressionMaxMinShort.class);
}
use of org.apache.carbondata.core.datastore.compression.ValueCompressionHolder in project carbondata by apache.
the class ValueCompressionUtilTest method testToUnCompressMaxMinForByte.
@Test
public void testToUnCompressMaxMinForByte() {
ValueCompressionHolder result = ValueCompressionUtil.getCompressionDecimalMaxMin(DataType.BYTE, null);
assertEquals(result.getClass(), CompressionMaxMinByte.class);
}
Aggregations