Top Description Constructors Methods
org.hibernate.cache.spi.entry

pack-priv Class CacheEntryHelper

extends Object
Class Inheritance
Imports
java.io.Serializable, org.hibernate.bytecode.enhance.spi.LazyPropertyInitializer, org.hibernate.engine.spi.SharedSessionContractImplementor, org.hibernate.property.access.internal.PropertyAccessStrategyBackRefImpl, org.hibernate.type.Type

Operations for assembly and disassembly of an array of property values.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public static Object[]

Returns:

The assembled state
assemble
(final Serializable[]
The values
row
,
final Type[]
The value types
types
,
final SharedSessionContractImplementor
The originating session
session
,
final Object
The entity "owning" the values
owner
)

Apply the Type#assemble operation across a series of values.

public static Serializable[]

Returns:

The disassembled state
disassemble
(final Object[]
The values
row
,
final Type[]
The value types
types
,
final boolean[]
An array indicating which values to include in the disassembled state
nonCacheable
,
final SharedSessionContractImplementor
The originating session
session
,
final Object
The entity "owning" the values
owner
)

Apply the Type#disassemble operation across a series of values.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CacheEntryHelperback to summary
pack-priv CacheEntryHelper()

Method Detail

assembleback to summary
public static Object[] assemble(final Serializable[] row, final Type[] types, final SharedSessionContractImplementor session, final Object owner)

Apply the Type#assemble operation across a series of values.

Parameters
row:Serializable[]

The values

types:Type[]

The value types

session:SharedSessionContractImplementor

The originating session

owner:Object

The entity "owning" the values

Returns:Object[]

The assembled state

disassembleback to summary
public static Serializable[] disassemble(final Object[] row, final Type[] types, final boolean[] nonCacheable, final SharedSessionContractImplementor session, final Object owner)

Apply the Type#disassemble operation across a series of values.

Parameters
row:Object[]

The values

types:Type[]

The value types

nonCacheable:boolean[]

An array indicating which values to include in the disassembled state

session:SharedSessionContractImplementor

The originating session

owner:Object

The entity "owning" the values

Returns:Serializable[]

The disassembled state