- All Known Implementing Classes:
GraphTransaction.Reader,ModificationQueue.Applier,PersistenceInputDecorator,PersistenceInputStream,PropertyReader,Transaction.Reader,XAQueue.Reader,XMLGraphReader,XMLPersistenceReader,XMLRootlessGraphReader
public interface PersistenceInput
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionbooleanintbooleanbeginComponent(ManageableType.ArrayComponent c, int index) beginField(ManageableType type, ManageableType.Field field) voidendArray()voidvoidendField()voidintcharpeek()booleanbytereadByte()charreadChar()doublefloatintreadInt()longreadLong()readName()readObject(int kind, Type type) longshortintintresolveId(long inputId) voidsetNested(boolean nested)
-
Field Details
-
PLAIN_OBJECT
static final int PLAIN_OBJECT- See Also:
-
NULL_OBJECT
static final int NULL_OBJECT- See Also:
-
STRING_OBJECT
static final int STRING_OBJECT- See Also:
-
SERIALIZED_OBJECT
static final int SERIALIZED_OBJECT- See Also:
-
MANAGEABLE_OBJECT
static final int MANAGEABLE_OBJECT- See Also:
-
SHARED_OBJECT_REFERENCE
static final int SHARED_OBJECT_REFERENCE- See Also:
-
PERSISTENT_OBJECT_ID
static final int PERSISTENT_OBJECT_ID- See Also:
-
ARRAY_OBJECT
static final int ARRAY_OBJECT- See Also:
-
MIN_UNUSED_KIND
static final int MIN_UNUSED_KIND- See Also:
-
-
Method Details
-
getBindings
PersistenceBindings getBindings() -
readBoolean
- Throws:
IOException
-
readByte
- Throws:
IOException
-
readUnsignedByte
- Throws:
IOException
-
readShort
- Throws:
IOException
-
readUnsignedShort
- Throws:
IOException
-
readChar
- Throws:
IOException
-
readInt
- Throws:
IOException
-
readLong
- Throws:
IOException
-
readFloat
- Throws:
IOException
-
readDouble
- Throws:
IOException
-
readName
- Throws:
IOException
-
readString
- Throws:
IOException
-
getNextObjectKind
- Throws:
IOException
-
readObject
- Throws:
IOException
-
readPersistentObjectId
- Throws:
IOException
-
readPersistentObject
- Throws:
IOException
-
beginArray
- Throws:
IOException
-
beginComponent
- Throws:
IOException
-
endComponent
- Throws:
IOException
-
endArray
- Throws:
IOException
-
beginManaged
- Throws:
IOException
-
areFieldsProvided
boolean areFieldsProvided() -
beginField
- Throws:
IOException
-
endField
- Throws:
IOException
-
endManaged
- Throws:
IOException
-
setNested
void setNested(boolean nested) -
resolveId
-
peek
- Throws:
IOException
-