public static ValueCompressonHolder.UnCompressValue unCompressNone(DataType compDataType,DataType actualDataType){
  if (actualDataType == DataType.DATA_BIGINT) {
    return new UnCompressDefaultLong();
  }
 else {
switch (compDataType) {
case DATA_BYTE:
      return new UnCompressNoneByte();
case DATA_SHORT:
    return new UnCompressNoneShort();
case DATA_INT:
  return new UnCompressNoneInt();
case DATA_LONG:
return new UnCompressNoneLong();
case DATA_FLOAT:
return new UnCompressNoneFloat();
default :
return new UnCompressNoneDefault();
}
}
}

public static ValueCompressonHolder . UnCompressValue unCompressNone ( DataType compDataType , DataType actualDataType ) { if ( actualDataType == DataType . DATA_BIGINT ) { return new UnCompressDefaultLong ( ) ; } else { switch ( compDataType ) { case DATA_BYTE : return new UnCompressNoneByte ( ) ; case DATA_SHORT : return new UnCompressNoneShort ( ) ; case DATA_INT : return new UnCompressNoneInt ( ) ; case DATA_LONG : return new UnCompressNoneLong ( ) ; case DATA_FLOAT : return new UnCompressNoneFloat ( ) ; default : return new UnCompressNoneDefault ( ) ; } } }
uncompress data for example : int - > double
