Package | Description |
---|---|
com.persistit |
Implements Persistit™'s core functionality.
|
com.persistit.encoding |
Modifier and Type | Class and Description |
---|---|
class |
DefaultObjectCoder
An
ObjectCoder that uses reflection to access the properties and/or
fields of an object. |
class |
DefaultValueCoder
A
ValueCoder that uses reflection to access and modify the fields of
an object. |
Modifier and Type | Method and Description |
---|---|
ValueCoder |
DefaultCoderManager.getValueCoder(Class<?> clazz)
Return a
ValueCoder for the supplied Class . |
ValueCoder |
DefaultCoderManager.lookupValueCoder(Class<?> clazz)
Return the
ValueCoder registered for the supplied
Class , or null if no ValueCoder
is registered. |
ValueCoder |
DefaultCoderManager.registerValueCoder(Class<?> clazz,
ValueCoder coder)
Attempt to register the provided
ValueCoder to encode and
decode instances of supplied Class . |
ValueCoder |
DefaultCoderManager.unregisterValueCoder(Class<?> clazz)
Removes any
ValueCoder registered for the supplied
Class |
Modifier and Type | Method and Description |
---|---|
Map<Class<?>,ValueCoder> |
DefaultCoderManager.getRegisteredValueCoders()
Create a
Map of Class es to registered
ValueCoder s. |
Modifier and Type | Method and Description |
---|---|
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. |
ValueCoder |
DefaultCoderManager.registerValueCoder(Class<?> clazz,
ValueCoder coder)
Attempt to register the provided
ValueCoder to encode and
decode instances of supplied Class . |
int |
DefaultCoderManager.unregisterValueCoder(ValueCoder coder)
Unregisters the supplied
ValueCoder from all
Class es it was previously registered to handle. |
Modifier and Type | Interface and Description |
---|---|
interface |
ObjectCoder
Combines the
KeyCoder , KeyRenderer , ValueCoder and
ValueRenderer into a single interface that allows Persistit to store
and retrieve arbitrary objects - even non-Serializable objects - without
byte-code enhancement, without incurring the space or time overhead of Java
serialization, or the need to modify the class to perform custom
serialization. |
interface |
ValueDisplayer
An extension of
ValueCoder that adds the ValueDisplayer.display(com.persistit.Value, java.lang.StringBuilder, java.lang.Class<?>, com.persistit.encoding.CoderContext) method. |
interface |
ValueRenderer
An extended
ValueCoder that can populate a supplied
Object with data that was formerly written to a Value by
the ValueCoder . |
Modifier and Type | Class and Description |
---|---|
class |
CollectionValueCoder
Implements ValueCoder, ValueRenderer and ValueDisplayer for selected classes
in the Java Collections API.
|
class |
EnumValueCoder |
class |
SerialValueCoder
A
ValueCoder that uses standard Java serialization to store and
retrieve object values. |
Modifier and Type | Method and Description |
---|---|
ValueCoder |
CoderManager.getValueCoder(Class<?> clazz)
Return a
ValueCoder for the supplied Class . |
ValueCoder |
CoderManager.lookupValueCoder(Class<?> clazz)
Returns the
ValueCoder registered for the supplied
Class , or null if no ValueCoder is
registered. |
ValueCoder |
CoderManager.registerValueCoder(Class<?> clazz,
ValueCoder coder)
Register the provided
ValueCoder to encode and decode
instances of supplied class. |
ValueCoder |
CoderManager.unregisterValueCoder(Class<?> clazz)
Remove the registered
ValueCoder for the supplied class. |
Modifier and Type | Method and Description |
---|---|
Map<Class<?>,? extends ValueCoder> |
CoderManager.getRegisteredValueCoders()
Create a
Map of Class es to registered
ValueCoder s. |
Modifier and Type | Method and Description |
---|---|
ValueCoder |
CoderManager.registerValueCoder(Class<?> clazz,
ValueCoder coder)
Register the provided
ValueCoder to encode and decode
instances of supplied class. |
int |
CoderManager.unregisterValueCoder(ValueCoder coder)
Remove the supplied
ValueCoder from all classes to which it
was previously registered. |
Copyright © 2025 Open Identity Platform Community. All rights reserved.