Package | Description |
---|---|
com.persistit |
Implements Persistit™'s core functionality.
|
com.persistit.encoding |
Modifier and Type | Class and Description |
---|---|
static class |
DefaultValueCoder.Builder
A component of a
DefaultValueCoder that reads and writes
data values to and from properties or fields of a client object. |
Modifier and Type | Method and Description |
---|---|
Key |
Key.append(Object object,
CoderContext context)
Encodes and appends an
Object value to the key. |
void |
DefaultObjectCoder.appendKeySegment(Key key,
Object object,
CoderContext context) |
Object |
Key.decode(Object target,
CoderContext context)
Decodes the next key segment as an
Object , advances the
index to the next key segment and returns the result. |
void |
Key.decodeDisplayable(boolean quoted,
Appendable sb,
CoderContext context)
Decode the next key segment as a displayable String and advances the
index to the next key segment.
|
void |
Value.decodeDisplayable(boolean quoted,
StringBuilder sb,
CoderContext context)
Appends a displayable String version of a value into the supplied
StringBuilder.
|
Object[] |
Management.decodeKeyObjects(KeyState keyState,
CoderContext context)
Decodes the content of the supplied
KeyState as an array of
Objects, one object per key segment. |
Object |
DefaultObjectCoder.decodeKeySegment(Key key,
Class clazz,
CoderContext context) |
Object[] |
Management.decodeValueObjects(ValueState valueState,
CoderContext context)
Decodes the content of the supplied
ValueState as an array
of Objects. |
Object |
Value.directGet(ValueRenderer coder,
Class<?> clazz,
CoderContext context)
Optimized get method to be used in specialized circumstances where an
applications can supply a
ValueCoder directly. |
Object |
Value.directGet(ValueRenderer coder,
Object target,
Class<?> clazz,
CoderContext context)
Optimized get method to be used in specialized circumstances where an
applications can supply a
ValueCoder directly. |
void |
Value.directPut(ValueCoder coder,
Object object,
CoderContext context)
Optimized put method to be used in specialized circumstances where an
applications can supply a
ValueCoder directly. |
Object |
Value.get(Object target,
CoderContext context)
Decodes the object value represented by the current state of this
Value . |
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. |
Object |
Value.peek(Object target,
CoderContext context)
Decodes the object value represented by the current state of this
Value . |
void |
Value.put(Object object,
CoderContext context)
Replaces the current state with the supplied
Object (or in
stream mode, appends a new field
containing this value to the state). |
void |
DefaultValueCoder.put(Value value,
Object object,
CoderContext context)
Encodes the supplied
Object into the supplied
Value . |
static KeyFilter.Term |
KeyFilter.rangeTerm(Object fromValue,
Object toValue,
boolean leftInclusive,
boolean rightInclusive,
CoderContext context)
Returns a
Term that accepts a range of values. |
static KeyFilter.Term |
KeyFilter.rangeTerm(Object fromValue,
Object toValue,
CoderContext context)
Returns a
Term that accepts a range of values. |
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 . |
static KeyFilter.Term |
KeyFilter.simpleTerm(Object value,
CoderContext context)
Returns a
Term that matches a single value. |
String |
KeyFilter.Term.toString(CoderContext context)
|
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 |
SerialValueCoder.get(Value value,
Class<?> clazz,
CoderContext context)
Creates an instance of the supplied class, populates its state by
decoding the supplied
Value using standard Java
serialization, 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. |
void |
ValueCoder.put(Value value,
Object object,
CoderContext context)
Encodes the supplied
Object into the supplied
Value . |
void |
SerialValueCoder.put(Value value,
Object object,
CoderContext context)
Encodes the supplied
Object into the supplied
Value using standard Java serialization. |
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.