public class CustomPartitioningPolicy extends PartitioningPolicy
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
partitioningClasName |
protected PartitioningPolicy |
policy |
name
Constructor and Description |
---|
CustomPartitioningPolicy() |
Modifier and Type | Method and Description |
---|---|
void |
convertClassNamesToClasses(java.lang.ClassLoader classLoader)
INTERNAL:
Convert all the class-name-based settings to actual class-based
settings.
|
java.util.List<org.eclipse.persistence.internal.databaseaccess.Accessor> |
getConnectionsForQuery(org.eclipse.persistence.internal.sessions.AbstractSession session,
DatabaseQuery query,
org.eclipse.persistence.internal.sessions.AbstractRecord arguments)
INTERNAL:
Forward to custom policy
|
java.lang.String |
getPartitioningClasName() |
PartitioningPolicy |
getPolicy() |
void |
initialize(org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL:
Initialize the policy.
|
void |
setPartitioningClasName(java.lang.String partitioningClasName) |
void |
setPolicy(PartitioningPolicy policy) |
acquireAccessor, getAccessor, getName, partitionPersist, setName
protected java.lang.String partitioningClasName
protected PartitioningPolicy policy
public void initialize(org.eclipse.persistence.internal.sessions.AbstractSession session)
initialize
in class PartitioningPolicy
public void convertClassNamesToClasses(java.lang.ClassLoader classLoader)
convertClassNamesToClasses
in class PartitioningPolicy
public java.util.List<org.eclipse.persistence.internal.databaseaccess.Accessor> getConnectionsForQuery(org.eclipse.persistence.internal.sessions.AbstractSession session, DatabaseQuery query, org.eclipse.persistence.internal.sessions.AbstractRecord arguments)
getConnectionsForQuery
in class PartitioningPolicy
public java.lang.String getPartitioningClasName()
public void setPartitioningClasName(java.lang.String partitioningClasName)
public PartitioningPolicy getPolicy()
public void setPolicy(PartitioningPolicy policy)