1 8 9 package com.sleepycat.persist.impl; 10 11 import java.math.BigInteger ; 12 13 import com.sleepycat.bind.tuple.TupleOutput; 14 15 29 public interface EntityOutput { 30 31 static final int PRI_KEY_VISITED_OFFSET = Integer.MAX_VALUE - 1; 32 33 38 void writeObject(Object o, Format fieldFormat); 39 40 44 void writeKeyObject(Object o, Format fieldFormat); 45 46 51 void registerPriKeyObject(Object o); 52 53 57 void writeArrayLength(int length); 58 59 62 void writeEnumConstant(String [] names, int index); 63 64 65 66 TupleOutput writeString(String val); 67 TupleOutput writeChar(int val); 68 TupleOutput writeBoolean(boolean val); 69 TupleOutput writeByte(int val); 70 TupleOutput writeShort(int val); 71 TupleOutput writeInt(int val); 72 TupleOutput writeLong(long val); 73 TupleOutput writeSortedFloat(float val); 74 TupleOutput writeSortedDouble(double val); 75 TupleOutput writeBigInteger(BigInteger val); 76 } 77 | Popular Tags |