@Override public long readDouble(String filePath,long offset){
  FileChannel fileChannel=updateCache(filePath);
  ByteBuffer byteBffer=read(fileChannel,CarbonCommonConstants.LONG_SIZE_IN_BYTE,offset);
  return byteBffer.getLong();
}

@ Override public long readDouble ( String filePath , long offset ) { FileChannel fileChannel = updateCache ( filePath ) ; ByteBuffer byteBffer = read ( fileChannel , CarbonCommonConstants . LONG_SIZE_IN_BYTE , offset ) ; return byteBffer . getLong ( ) ; }
this method will be used to read int from file from postion ( offset ) , here length will be always 4 bacause int byte size if 4
