public void queryFunction3(ByteBuffer bb,StringBuilder high,StringBuilder low){
  int baseSec=(int)(windowId >> 32);
  bb.putInt(baseSec);
  Integer operId=operatorId;
  for (int i=0; i < 3; i++) {
    byte num=(byte)(operId >> 8 * (2 - i));
    bb.put(num);
  }
  short winId=(short)(windowId & 0xffff);
  bb.putShort(winId);
  ByteBuffer lowbb=bb.duplicate();
  lowbb.put((byte)0);
  lowbb.put((byte)0);
  lowbb.put((byte)0);
  for (  byte b : lowbb.array()) {
    low.append(String.format("%02x",b & 0xff));
  }
  ByteBuffer highbb=bb.duplicate();
  highbb.put((byte)0xff);
  highbb.put((byte)0xff);
  highbb.put((byte)0xff);
  for (  byte b : highbb.array()) {
    high.append(String.format("%02x",b & 0xff));
  }
}

public void queryFunction3 ( ByteBuffer bb , StringBuilder high , StringBuilder low ) { int baseSec = ( int ) ( windowId > > 32 ) ; bb . putInt ( baseSec ) ; Integer operId = operatorId ; for ( int i = 0 ; i < 3 ; i ++ ) { byte num = ( byte ) ( operId > > 8 * ( 2 - i ) ) ; bb . put ( num ) ; } short winId = ( short ) ( windowId & 0xffff ) ; bb . putShort ( winId ) ; ByteBuffer lowbb = bb . duplicate ( ) ; lowbb . put ( ( byte ) 0 ) ; lowbb . put ( ( byte ) 0 ) ; lowbb . put ( ( byte ) 0 ) ; for ( byte b : lowbb . array ( ) ) { low . append ( String . format ( "%02x" , b & 0xff ) ) ; } ByteBuffer highbb = bb . duplicate ( ) ; highbb . put ( ( byte ) 0xff ) ; highbb . put ( ( byte ) 0xff ) ; highbb . put ( ( byte ) 0xff ) ; for ( byte b : highbb . array ( ) ) { high . append ( String . format ( "%02x" , b & 0xff ) ) ; } }
4b basesec | 3b operatorid | 2b windowid | 3b tupleid
