Package org.synchronoss.cpo.core
package org.synchronoss.cpo.core
-
ClassDescriptionBase
CpoDataimplementation that owns theCpoAttributebeing bound and handles the transform half of the contract (AbstractCpoData.transformIn(Object)/AbstractCpoData.transformOut(Object)).BaseDataSourceInfoimplementation that holds the common name/fetchSize/batchSize configuration and lazily creates the underlying datasource object on first access, guarding creation with a lock so concurrent callers cannot race to create it twice.DefaultCpoOrderByimplementation: an immutable, bindable sort clause on a single attribute, optionally wrapped in a native datastore function and associated with a custom marker for multi-clause substitution.DefaultCpoWhereimplementation: a bindable where-clause node that is also aNode, allowing leaf comparisons to be chained into branches viaBindableCpoWhere.addWhere(CpoWhere)and rendered to native SQL/CQL text viaBindableCpoWhere.toString(CpoClass).ANodeVisitorthat walks aBindableCpoWheretree and, as a side effect of the traversal, accumulates both the rendered native (SQL/CQL) where-clause text and the ordered list ofBindAttributevalues that must be bound to its parameter placeholders.BindAttributepairs a single bind value produced while walking aCpoWheretree (seeBindableWhereBuilder) with either the resolvedCpoAttributeit belongs to, or, when no matching bean attribute exists, the raw attribute name it was addressed by.Exception class acts as a catch all for any condition occurring in with regards to an ElementCpoAdapter is an interface for a set of routines that are responsible for Creating, Retrieving, Updating, and Deleting (CRUD) value beans within a datasource.CreatesCpoAdapterinstances (plain, transactional, or XA) for a single named data source configuration.CpoAdapterFactoryManageris the static entry point applications use to obtainCpoAdapter,CpoTrxAdapter, andCpoXaResourceinstances by named configuration context.The CpoBaseAdapter has common functionality needed by all Adapter implementationsCpoDatais the binding between a single bean attribute and the mechanics needed to move its value into and out of the datastore: invoking the bean's getter/setter reflectively and applying any configuredCpoTransformon the way in or out.ACpoExceptionis the common superclass for any number of CPO related exceptions that may occur during the execution of a business task.Represents a native (datastore-specific) function expression bound to a marker, for embedding SQL/CQL functions likeUPPER(?)into a CPO where/order-by clause.CpoOrderBy is an interface for specifying the sort order in which objects are returned from the Datasource.The clauses of aCpoAdapteroperation: the function group to run plus any run-time where constraints, orderings, and native expressions.CpoReleasable is a class that can be called during a CpoTransform when there are resources that need to released after the current prepared statement is processed.CpoStatementFactory is the base class that encapsulates the creation of the native statement for the target datastore from the meta expression, where clauses, and order-by clauses.CpoTrxAdapter adds commit, rollback, and close functionality to the methods already in CpoAdapter.`CpoWhere` is an interface for specifying the where clause to filter objects that are returned from the Datasource.Interface that defines the methods needed by CPO for any class that collects DataSource info and instantiates the DataSourceDefines that a implementer of this interface allows visits from a MetaVisitor.This defines a depth first meta visitor.This is a general Node class to be used to build different types of trees.This is the interface for the visitors to the Node Hierarchy