# Uses of Class
org.apache.cayenne.access.DataNode

Packages that use DataNode
Package
Description
org.apache.cayenne.access
Contains classes that make up Cayenne ORM stack.
org.apache.cayenne.access.dbsync
org.apache.cayenne.access.jdbc
Contains classes that handle JDBC interactions.
org.apache.cayenne.configuration.runtime
org.apache.cayenne.dba
Contains database adapter API (DbAdapter) and its default implementation.
org.apache.cayenne.dba.db2
IBM DB2 DbAdapter.
org.apache.cayenne.dba.derby
Apache Derby DbAdapter.
org.apache.cayenne.dba.firebird
org.apache.cayenne.dba.frontbase
FrontBase DbAdapter.
org.apache.cayenne.dba.h2
org.apache.cayenne.dba.hsqldb
HSQLDB DbAdapter.
org.apache.cayenne.dba.ingres
org.apache.cayenne.dba.mysql
MySQL DbAdapter.
org.apache.cayenne.dba.oracle
Oracle DbAdapter.
org.apache.cayenne.dba.postgres
PostgreSQL DbAdapter.
org.apache.cayenne.dba.sqlite
org.apache.cayenne.dba.sqlserver
MS SQLServer DbAdapter.
org.apache.cayenne.dba.sybase
Sybase DbAdapter.
org.apache.cayenne.query
Defines standard queries supported by Cayenne and extension mechanism to create custom queries.

- ## Uses of DataNode in org.apache.cayenne.access

  Fields in org.apache.cayenne.access declared as DataNode
  Modifier and Type
  Field
  Description
  `protected DataNode`
  DataDomain.`defaultNode`
  Fields in org.apache.cayenne.access with type parameters of type DataNode
  Modifier and Type
  Field
  Description
  `protected final Map<String,DataNode>`
  DataDomain.`nodes`
  `protected final Map<String,DataNode>`
  DataDomain.`nodesByDataMapName`
  Methods in org.apache.cayenne.access that return DataNode
  Modifier and Type
  Method
  Description
  `DataNode`
  DataDomain.`getDataNode(String nodeName)`
  Returns registered DataNode whose name matches `name` parameter.
  `DataNode`
  DataDomain.`getDefaultNode()`
  An optional DataNode that is used for DataMaps that are not linked to a DataNode explicitly.
  `DataNode`
  DataDomain.`lookupDataNode(DataMap map)`
  Returns a DataNode that should handle queries for all entities in a DataMap.
  `DataNode`
  DataNode.`lookupDataNode(DataMap dataMap)`
  Deprecated, for removal: This API element is subject to removal in a future version.
  unused and unneeded
  Methods in org.apache.cayenne.access that return types with arguments of type DataNode
  Modifier and Type
  Method
  Description
  `Collection<DataNode>`
  DataDomain.`getDataNodes()`
  Returns an unmodifiable collection of DataNodes associated with this domain.
  Methods in org.apache.cayenne.access with parameters of type DataNode
  Modifier and Type
  Method
  Description
  `void`
  DataDomain.`addNode(DataNode node)`
  Adds new DataNode.
  `void`
  DataDomain.`setDefaultNode(DataNode defaultNode)`

- ## Uses of DataNode in org.apache.cayenne.access.dbsync

  Methods in org.apache.cayenne.access.dbsync with parameters of type DataNode
  Modifier and Type
  Method
  Description
  `protected Map<String,Boolean>`
  CreateIfNoSchemaStrategy.`getNameTablesInDB(DataNode dataNode)`
  Returns all the table names in database.
  `protected abstract void`
  BaseSchemaUpdateStrategy.`processSchemaUpdate(DataNode dataNode)`
  `protected void`
  CreateIfNoSchemaStrategy.`processSchemaUpdate(DataNode dataNode)`
  `protected void`
  ThrowOnPartialOrCreateSchemaStrategy.`processSchemaUpdate(DataNode dataNode, List<String> mergerOnlyTable, String errorMessage, int entitiesSize)`
  `protected void`
  ThrowOnPartialSchemaStrategy.`processSchemaUpdate(DataNode dataNode)`
  `protected void`
  ThrowOnPartialSchemaStrategy.`processSchemaUpdate(DataNode dataNode, List<String> mergerOnlyTable, String errorMessage, int entitiesSize)`
  `void`
  BaseSchemaUpdateStrategy.`updateSchema(DataNode dataNode)`
  `void`
  SchemaUpdateStrategy.`updateSchema(DataNode dataNode)`
  `void`
  SkipSchemaUpdateStrategy.`updateSchema(DataNode dataNode)`

- ## Uses of DataNode in org.apache.cayenne.access.jdbc

  Fields in org.apache.cayenne.access.jdbc declared as DataNode
  Modifier and Type
  Field
  Description
  `protected DataNode`
  BaseSQLAction.`dataNode`
  `protected DataNode`
  SQLTemplateAction.`dataNode`
  Constructors in org.apache.cayenne.access.jdbc with parameters of type DataNode
  Modifier
  Constructor
  Description
  ``
  `BaseSQLAction(DataNode dataNode)`
  ``
  `BatchAction(BatchQuery query, DataNode dataNode, boolean runningAsBatch)`
  ``
  `EJBQLAction(EJBQLQuery query, SQLActionVisitor actionFactory, DataNode dataNode)`
  ``
  `ProcedureAction(ProcedureQuery query, DataNode dataNode)`
  ``
  `SelectAction(Select<?> query, DataNode dataNode)`
  ``
  `SQLTemplateAction(SQLTemplate query, DataNode dataNode)`

- ## Uses of DataNode in org.apache.cayenne.configuration.runtime

  Methods in org.apache.cayenne.configuration.runtime that return DataNode
  Modifier and Type
  Method
  Description
  `DataNode`
  DataNodeFactory.`createDataNode(String dataChannelName, DataNodeDescriptor nodeDescriptor)`
  `DataNode`
  DefaultDataNodeFactory.`createDataNode(String channelName, DataNodeDescriptor descriptor)`
  `protected DataNode`
  DefaultDataNodeFactory.`doCreateDataNode(String name)`

- ## Uses of DataNode in org.apache.cayenne.dba

  Fields in org.apache.cayenne.dba declared as DataNode
  Modifier and Type
  Field
  Description
  `protected DataNode`
  JdbcActionBuilder.`dataNode`
  Methods in org.apache.cayenne.dba with parameters of type DataNode
  Modifier and Type
  Method
  Description
  `protected boolean`
  JdbcPkGenerator.`autoPkTableExists(DataNode node)`
  Checks if AUTO_PK_TABLE already exists in the database.
  `void`
  JdbcPkGenerator.`createAutoPk(DataNode node, List<DbEntity> dbEntities)`
  `void`
  PkGenerator.`createAutoPk(DataNode node, List<DbEntity> dbEntities)`
  Generates necessary database objects to provide automatic primary key support.
  `void`
  SequencePkGenerator.`createAutoPk(DataNode node, List<DbEntity> dbEntities)`
  `void`
  JdbcPkGenerator.`dropAutoPk(DataNode node, List<DbEntity> dbEntities)`
  Drops table named "AUTO_PK_SUPPORT" if it exists in the database.
  `void`
  PkGenerator.`dropAutoPk(DataNode node, List<DbEntity> dbEntities)`
  Drops any common database objects associated with automatic primary key generation process.
  `void`
  SequencePkGenerator.`dropAutoPk(DataNode node, List<DbEntity> dbEntities)`
  Drops PK sequences for all specified DbEntities.
  `Object`
  JdbcPkGenerator.`generatePk(DataNode node, DbAttribute pk, Class<?> javaType)`
  `default Object`
  PkGenerator.`generatePk(DataNode dataNode, DbAttribute pk)`
  Deprecated, for removal: This API element is subject to removal in a future version.
  unused by the framework that relies on `PkGenerator.generatePk(DataNode, DbAttribute, Class)`
  `Object`
  PkGenerator.`generatePk(DataNode dataNode, DbAttribute pk, Class<?> javaType)`
  Generates a unique and non-repeating primary key for the specified PK attribute
  `SQLAction`
  AutoAdapter.`getAction(Query query, DataNode node)`
  `SQLAction`
  DbAdapter.`getAction(Query query, DataNode node)`
  Returns an instance of SQLAction that should handle the query.
  `SQLAction`
  JdbcAdapter.`getAction(Query query, DataNode node)`
  Uses JdbcActionBuilder to create the right action.
  `protected List<String>`
  SequencePkGenerator.`getExistingSequences(DataNode node)`
  Fetches a list of existing sequences that might match Cayenne generated ones.
  `protected long`
  JdbcPkGenerator.`longPkFromDatabase(DataNode node, DbEntity entity)`
  Performs primary key generation ignoring cache.
  `protected long`
  SequencePkGenerator.`longPkFromDatabase(DataNode node, DbEntity entity)`
  Generates a primary key by calling the database sequence corresponding to the `dbEntity`.
  `int`
  JdbcPkGenerator.`runUpdate(DataNode node, String sql)`
  Runs JDBC update over a Connection obtained from DataNode.
  Constructors in org.apache.cayenne.dba with parameters of type DataNode
  Modifier
  Constructor
  Description
  ``
  `JdbcActionBuilder(DataNode dataNode)`

- ## Uses of DataNode in org.apache.cayenne.dba.db2

  Methods in org.apache.cayenne.dba.db2 with parameters of type DataNode
  Modifier and Type
  Method
  Description
  `SQLAction`
  DB2Adapter.`getAction(Query query, DataNode node)`
  Uses special action builder to create the right action.
  Constructors in org.apache.cayenne.dba.db2 with parameters of type DataNode
  Modifier
  Constructor
  Description
  ``
  `DB2SelectAction(Select<?> query, DataNode dataNode)`

- ## Uses of DataNode in org.apache.cayenne.dba.derby

  Methods in org.apache.cayenne.dba.derby with parameters of type DataNode
  Modifier and Type
  Method
  Description
  `SQLAction`
  DerbyAdapter.`getAction(Query query, DataNode node)`
  Constructors in org.apache.cayenne.dba.derby with parameters of type DataNode
  Modifier
  Constructor
  Description
  ``
  `DerbyActionBuilder(DataNode dataNode)`
  ``
  `DerbySelectAction(Select<?> query, DataNode dataNode)`

- ## Uses of DataNode in org.apache.cayenne.dba.firebird

  Methods in org.apache.cayenne.dba.firebird with parameters of type DataNode
  Modifier and Type
  Method
  Description
  `SQLAction`
  FirebirdAdapter.`getAction(Query query, DataNode node)`
  Constructors in org.apache.cayenne.dba.firebird with parameters of type DataNode
  Modifier
  Constructor
  Description
  ``
  `FirebirdActionBuilder(DataNode dataNode)`
  ``
  `FirebirdSelectAction(Select<?> query, DataNode dataNode)`

- ## Uses of DataNode in org.apache.cayenne.dba.frontbase

  Methods in org.apache.cayenne.dba.frontbase with parameters of type DataNode
  Modifier and Type
  Method
  Description
  `void`
  FrontBasePkGenerator.`createAutoPk(DataNode node, List<DbEntity> dbEntities)`
  `void`
  FrontBasePkGenerator.`dropAutoPk(DataNode node, List<DbEntity> dbEntities)`
  `SQLAction`
  FrontBaseAdapter.`getAction(Query query, DataNode node)`
  Uses FrontBaseActionBuilder to create the right action.
  `protected long`
  FrontBasePkGenerator.`longPkFromDatabase(DataNode node, DbEntity entity)`
  Constructors in org.apache.cayenne.dba.frontbase with parameters of type DataNode
  Modifier
  Constructor
  Description
  ``
  `FrontBaseActionBuilder(DataNode dataNode)`
  ``
  `FrontBaseTemplateAction(SQLTemplate query, DataNode dataNode)`

- ## Uses of DataNode in org.apache.cayenne.dba.h2

  Methods in org.apache.cayenne.dba.h2 with parameters of type DataNode
  Modifier and Type
  Method
  Description
  `SQLAction`
  H2Adapter.`getAction(Query query, DataNode node)`
  Constructors in org.apache.cayenne.dba.h2 with parameters of type DataNode
  Modifier
  Constructor
  Description
  ``
  `H2ActionBuilder(DataNode node)`
  ``
  `H2SelectAction(Select<?> query, DataNode dataNode)`

- ## Uses of DataNode in org.apache.cayenne.dba.hsqldb

  Methods in org.apache.cayenne.dba.hsqldb with parameters of type DataNode
  Modifier and Type
  Method
  Description
  `SQLAction`
  HSQLDBAdapter.`getAction(Query query, DataNode node)`
  Uses special action builder to create the right action.

- ## Uses of DataNode in org.apache.cayenne.dba.ingres

  Methods in org.apache.cayenne.dba.ingres with parameters of type DataNode
  Modifier and Type
  Method
  Description
  `SQLAction`
  IngresAdapter.`getAction(Query query, DataNode node)`
  Constructors in org.apache.cayenne.dba.ingres with parameters of type DataNode
  Modifier
  Constructor
  Description
  ``
  `IngresActionBuilder(DataNode dataNode)`
  `<T>`
  `IngresSelectAction(Select<T> query, DataNode dataNode)`

- ## Uses of DataNode in org.apache.cayenne.dba.mysql

  Methods in org.apache.cayenne.dba.mysql with parameters of type DataNode
  Modifier and Type
  Method
  Description
  `SQLAction`
  MySQLAdapter.`getAction(Query query, DataNode node)`
  Uses special action builder to create the right action.
  `protected long`
  MySQLPkGenerator.`longPkFromDatabase(DataNode node, DbEntity entity)`
  Overrides superclass's implementation to perform locking of the primary key lookup table.

- ## Uses of DataNode in org.apache.cayenne.dba.oracle

  Methods in org.apache.cayenne.dba.oracle with parameters of type DataNode
  Modifier and Type
  Method
  Description
  `SQLAction`
  OracleAdapter.`getAction(Query query, DataNode node)`
  Uses OracleActionBuilder to create the right action.

- ## Uses of DataNode in org.apache.cayenne.dba.postgres

  Methods in org.apache.cayenne.dba.postgres with parameters of type DataNode
  Modifier and Type
  Method
  Description
  `SQLAction`
  PostgresAdapter.`getAction(Query query, DataNode node)`
  Uses PostgresActionBuilder to create the right action.
  Constructors in org.apache.cayenne.dba.postgres with parameters of type DataNode
  Modifier
  Constructor
  Description
  ``
  `PostgresBatchAction(BatchQuery query, DataNode dataNode, boolean runningAsBatch)`

- ## Uses of DataNode in org.apache.cayenne.dba.sqlite

  Methods in org.apache.cayenne.dba.sqlite with parameters of type DataNode
  Modifier and Type
  Method
  Description
  `SQLAction`
  SQLiteAdapter.`getAction(Query query, DataNode node)`
  Constructors in org.apache.cayenne.dba.sqlite with parameters of type DataNode
  Modifier
  Constructor
  Description
  ``
  `SQLiteSelectAction(Select<?> query, DataNode dataNode)`

- ## Uses of DataNode in org.apache.cayenne.dba.sqlserver

  Methods in org.apache.cayenne.dba.sqlserver with parameters of type DataNode
  Modifier and Type
  Method
  Description
  `void`
  SQLServerPkGenerator.`createAutoPk(DataNode node, List<DbEntity> dbEntities)`
  Generates database objects to provide automatic primary key support.
  `void`
  SQLServerPkGenerator.`dropAutoPk(DataNode node, List<DbEntity> dbEntities)`
  Drops database objects related to automatic primary key support.
  `SQLAction`
  SQLServerAdapter.`getAction(Query query, DataNode node)`
  Uses SQLServerActionBuilder to create the right action.
  `protected long`
  SQLServerPkGenerator.`longPkFromDatabase(DataNode node, DbEntity entity)`
  Constructors in org.apache.cayenne.dba.sqlserver with parameters of type DataNode
  Modifier
  Constructor
  Description
  ``
  `SQLServerActionBuilder(DataNode dataNode)`
  ``
  `SQLServerActionBuilder(DataNode dataNode, Integer version)`
  ``
  `SQLServerBatchAction(BatchQuery batchQuery, DataNode dataNode, boolean runningAsBatch)`
  ``
  `SQLServerProcedureAction(ProcedureQuery query, DataNode dataNode)`
  ``
  `SQLServerSelectAction(Select<?> query, DataNode dataNode, boolean needsInMemoryOffset)`

- ## Uses of DataNode in org.apache.cayenne.dba.sybase

  Methods in org.apache.cayenne.dba.sybase with parameters of type DataNode
  Modifier and Type
  Method
  Description
  `void`
  SybasePkGenerator.`createAutoPk(DataNode node, List<DbEntity> dbEntities)`
  Generates database objects to provide automatic primary key support.
  `void`
  SybasePkGenerator.`dropAutoPk(DataNode node, List<DbEntity> dbEntities)`
  Drops database objects related to automatic primary key support.
  `protected long`
  SybasePkGenerator.`longPkFromDatabase(DataNode node, DbEntity entity)`

- ## Uses of DataNode in org.apache.cayenne.query

  Methods in org.apache.cayenne.query that return DataNode
  Modifier and Type
  Method
  Description
  `default DataNode`
  QueryRouter.`engineForDataMap(DataMap map)`
  Deprecated, for removal: This API element is subject to removal in a future version.
  renamed to `QueryRouter.nodeForDataMap(DataMap)`.
  `default DataNode`
  QueryRouter.`engineForName(String name)`
  Deprecated, for removal: This API element is subject to removal in a future version.
  renamed to `QueryRouter.nodeForName(String)`.
  `DataNode`
  QueryRouter.`nodeForDataMap(DataMap map)`
  Returns a DataNode that is configured to handle a given DataMap.
  `DataNode`
  QueryRouter.`nodeForName(String name)`
  Returns a DataNode for a given name.
  Methods in org.apache.cayenne.query with parameters of type DataNode
  Modifier and Type
  Method
  Description
  `void`
  QueryRouter.`route(DataNode node, Query query, Query substitutedQuery)`
  A callback method that allows a query to set its preferred node during the routing phase.