Package | Description |
---|---|
com.persistit |
Implements Persistit™'s core functionality.
|
com.persistit.encoding |
Modifier and Type | Method and Description |
---|---|
void |
DefaultObjectCoder.appendKeySegment(Key key,
Object object,
CoderContext context) |
Object |
DefaultObjectCoder.decodeKeySegment(Key key,
Class clazz,
CoderContext context) |
Object |
DefaultValueCoder.get(Value value,
Class clazz,
CoderContext context)
Creates an instance of the supplied class, populates its state by
decoding the supplied
Value , and returns it. |
ObjectInputStream |
Value.getObjectInputStream()
Return a
java.io.ObjectInputStream that reads bytes from
this Value. |
ObjectOutputStream |
Value.getObjectOutputStream()
Return a
java.io.ObjectOutputStream that writes bytes
directly into this Value. |
void |
DefaultValueCoder.put(Value value,
Object object,
CoderContext context)
Encodes the supplied
Object into the supplied
Value . |
void |
DefaultValueCoder.putDefaultFields(Value value,
Object object)
Writes the fields of the supplied object to the supplied
Value . |
void |
DefaultValueCoder.render(Value value,
Object target,
Class clazz,
CoderContext context)
Populates the state of the supplied (mutable) target
Object
by decoding the supplied Value . |
void |
DefaultObjectCoder.renderKeySegment(Key key,
Object target,
Class clazz,
CoderContext context)
Populates the state of the supplied target
Object by
decoding the next key segment of the supplied Key . |
Modifier and Type | Method and Description |
---|---|
void |
KeyCoder.appendKeySegment(Key key,
Object object,
CoderContext context)
Append a key segment derived from an object to a
Key . |
Object |
KeyCoder.decodeKeySegment(Key key,
Class<?> clazz,
CoderContext context)
Decode a key segment as an Object value.
|
void |
ValueDisplayer.display(Value value,
StringBuilder target,
Class<?> clazz,
CoderContext context)
Writes a String representation of the value into a supplied
StringBuilder . |
void |
CollectionValueCoder.display(Value value,
StringBuilder target,
Class<?> clazz,
CoderContext context)
Writes a String representation of the value into a supplied
StringBuilder . |
void |
KeyDisplayer.displayKeySegment(Key key,
Appendable target,
Class<?> clazz,
CoderContext context)
Populates the state of the supplied target
Object by
decoding the next key segment of the supplied Key . |
Object |
ValueCoder.get(Value value,
Class<?> clazz,
CoderContext context)
Creates an instance of the supplied class, populates its state by
decoding the supplied
Value , and returns it. |
Object |
CollectionValueCoder.get(Value value,
Class<?> clazz,
CoderContext context)
Creates an instance of the supplied class, populates its state by
decoding the supplied
Value , and returns it. |
Object |
EnumValueCoder.get(Value value,
Class clazz,
CoderContext context)
Creates an instance of the supplied class, populates its state by
decoding the supplied
Value , and returns it. |
boolean |
KeyCoder.isZeroByteFree()
Since a key segment is terminated by a zero byte value the encoded
portion of the segment must not contain zeroes.
|
void |
ValueCoder.put(Value value,
Object object,
CoderContext context)
Encodes the supplied
Object into the supplied
Value . |
void |
EnumValueCoder.put(Value value,
Object object,
CoderContext context)
Encodes the supplied
Object into the supplied
Value . |
void |
CollectionValueCoder.put(Value value,
Object object,
CoderContext context)
Encodes the supplied
Object into the supplied
Value . |
void |
ValueRenderer.render(Value value,
Object target,
Class<?> clazz,
CoderContext context)
Populates the state of the supplied (mutable) target
Object
by decoding the supplied Value . |
void |
CollectionValueCoder.render(Value value,
Object target,
Class clazz,
CoderContext context)
Populates the state of the supplied (mutable) target
Object
by decoding the supplied Value . |
void |
KeyRenderer.renderKeySegment(Key key,
Object target,
Class<?> clazz,
CoderContext context)
Populate the state of the supplied target
Object by decoding
the next key segment of the supplied Key . |
Copyright © 2025 Open Identity Platform Community. All rights reserved.