private void updateAllocPageHeader() throws IOException { // rawDataOut and logicalDataOut are defined by StoredPage rawDataOut.setPosition(ALLOC_PAGE_HEADER_OFFSET); logicalDataOut.writeLong(nextAllocPageNumber); logicalDataOut.writeLong(nextAllocPageOffset); logicalDataOut.writeLong(0); // reserved1 logicalDataOut.writeLong(0); // reserved2 logicalDataOut.writeLong(0); // reserved3 logicalDataOut.writeLong(0); // reserved4 }
/** * Create an ArrayInputStream with the passed in data. * The position is set to 0 and the limit is the entire byte array. * @param data */ public ArrayInputStream(byte[] data) { super(); setData(data); oi = new com.pivotal.gemfirexd.internal.iapi.services.io.FormatIdInputStream(this); }
public DirectActions() { outBytes = new DynamicByteArrayOutputStream(); limitIn = new ArrayInputStream(); }
public Object getSharedState(String key) { if ((key == null) || (compileTimeConstants == null)) return null; return compileTimeConstants.get(key); }
private void updateAllocPageHeader() throws IOException { // rawDataOut and logicalDataOut are defined by StoredPage rawDataOut.setPosition(ALLOC_PAGE_HEADER_OFFSET); logicalDataOut.writeLong(nextAllocPageNumber); logicalDataOut.writeLong(nextAllocPageOffset); logicalDataOut.writeLong(0); // reserved1 logicalDataOut.writeLong(0); // reserved2 logicalDataOut.writeLong(0); // reserved3 logicalDataOut.writeLong(0); // reserved4 }
/** * Create an ArrayInputStream with the passed in data. * The position is set to 0 and the limit is the entire byte array. * @param data */ public ArrayInputStream(byte[] data) { super(); setData(data); oi = new com.pivotal.gemfirexd.internal.iapi.services.io.FormatIdInputStream(this); }
public DirectActions() { outBytes = new DynamicByteArrayOutputStream(); limitIn = new ArrayInputStream(); }
private void updateAllocPageHeader() throws IOException { // rawDataOut and logicalDataOut are defined by StoredPage rawDataOut.setPosition(ALLOC_PAGE_HEADER_OFFSET); logicalDataOut.writeLong(nextAllocPageNumber); logicalDataOut.writeLong(nextAllocPageOffset); logicalDataOut.writeLong(0); // reserved1 logicalDataOut.writeLong(0); // reserved2 logicalDataOut.writeLong(0); // reserved3 logicalDataOut.writeLong(0); // reserved4 }
/** * Create an ArrayInputStream with the passed in data. * The position is set to 0 and the limit is the entire byte array. * @param data */ public ArrayInputStream(byte[] data) { super(); setData(data); oi = new com.pivotal.gemfirexd.internal.iapi.services.io.FormatIdInputStream(this); }
public DirectActions() { outBytes = new DynamicByteArrayOutputStream(); limitIn = new ArrayInputStream(); }