|
EclipseLink 2.4.0, build 'v20120608-r11652' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.persistence.internal.databaseaccess.DatasourcePlatform
org.eclipse.persistence.eis.EISPlatform
org.eclipse.persistence.nosql.adapters.nosql.OracleNoSQLPlatform
public class OracleNoSQLPlatform
Platform for Oracle NoSQL database.
| Field Summary | |
|---|---|
static java.lang.String |
CONSISTENCY
|
static java.lang.String |
DURABILITY
|
static java.lang.String |
OPERATION
OracleNoSQL interaction spec properties. |
static java.lang.String |
TIMEOUT
|
static java.lang.String |
VERSION
|
| Fields inherited from class org.eclipse.persistence.eis.EISPlatform |
|---|
domMethod, isDOMRecordSupported, isIndexedRecordSupported, isMappedRecordSupported, recordConverter, requiresAutoCommit, shouldConvertDataToStrings, supportsLocalTransactions, xmlConversionManager |
| Fields inherited from class org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform |
|---|
conversionManager, dataTypesConvertedFromAClass, dataTypesConvertedToAClass, defaultSequence, endDelimiter, platformOperators, sequences, sequencesLock, startDelimiter, tableQualifier, timestampQuery |
| Constructor Summary | |
|---|---|
OracleNoSQLPlatform()
Default constructor. |
|
| Method Summary | |
|---|---|
javax.resource.cci.InteractionSpec |
buildInteractionSpec(EISInteraction interaction)
Allow the platform to build the interaction spec based on properties defined in the interaction. |
org.eclipse.persistence.internal.sessions.AbstractRecord |
buildRow(javax.resource.cci.Record record,
EISInteraction interaction,
EISAccessor accessor)
INTERNAL: Allow the platform to handle record to row conversion. |
java.util.Vector |
buildRows(javax.resource.cci.Record record,
EISInteraction interaction,
EISAccessor accessor)
Allow the platform to handle record to row conversion. |
protected void |
convertRecordBytesToString(org.eclipse.persistence.internal.nosql.adapters.nosql.OracleNoSQLRecord record)
INTERNAL: Convert the record and nested records bytes to strings. |
org.eclipse.persistence.internal.sessions.AbstractRecord |
createDatabaseRowFromDOMRecord(javax.resource.cci.Record record,
EISInteraction call,
EISAccessor accessor)
Allow the platform to handle the creation of the Record for the DOM record. |
javax.resource.cci.Record |
createInputRecord(EISInteraction interaction,
EISAccessor accessor)
Allow the platform to create the appropriate type of record for the interaction. |
protected java.lang.Object |
createMajorKey(ClassDescriptor descriptor,
org.eclipse.persistence.internal.sessions.AbstractRecord record,
EISInteraction interaction,
EISAccessor accessor)
NoSQL stores the data in a single big map. |
protected Sequence |
createPlatformDefaultSequence()
INTERNAL: NoSQL does not support id generation, so use UUID as the default. |
void |
initializeDefaultQueries(DescriptorQueryManager queryManager,
org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL: Allow the platform to initialize the CRUD queries to defaults. |
void |
setDOMInRecord(org.w3c.dom.Element dom,
javax.resource.cci.Record record,
EISInteraction interaction,
EISAccessor accessor)
Stores the XML DOM value into the record. |
boolean |
shouldPrepare(DatabaseQuery query)
Do not prepare to avoid errors being triggered for id and all queries. |
| Methods inherited from class org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform |
|---|
addOperator, addSequence, addSequence, buildSelectQueryForIdentity, buildSelectQueryForIdentity, buildSelectQueryForSequenceObject, buildSelectQueryForSequenceObject, clone, convertObject, copyInto, createConnectionCustomizer, getCustomModifyValueForCall, getDataTypesConvertedFrom, getDataTypesConvertedTo, getDefaultSequence, getDefaultSequenceToWrite, getEndDelimiter, getIdentifierQuoteCharacter, getOperator, getPlatformOperators, getSelectSequenceQuery, getSequence, getSequencePreallocationSize, getSequences, getSequencesToWrite, getStartDelimiter, getTableQualifier, getTimestampFromServer, getTimestampQuery, getUpdateSequenceQuery, hasDefaultSequence, initialize, initializePlatformOperators, isAccess, isAttunity, isCloudscape, isDB2, isDBase, isDerby, isFirebird, isH2, isHSQL, isInformix, isMaxDB, isMySQL, isODBC, isOracle, isOracle9, isPointBase, isPostgreSQL, isSQLAnywhere, isSQLServer, isSybase, isSymfoware, isTimesTen, isTimesTen7, removeAllSequences, removeSequence, sequencesAfterCloneCleanup, setConversionManager, setDefaultSequence, setEndDelimiter, setSelectSequenceNumberQuery, setSequencePreallocationSize, setSequences, setStartDelimiter, setTableQualifier, setTimestampQuery, setUpdateSequenceQuery, shouldNativeSequenceUseTransaction, shouldSelectDistinctIncludeOrderBy, shouldSelectIncludeOrderBy, shouldUseCustomModifyForCall, supportsIdentity, supportsNativeSequenceNumbers, supportsSequenceObjects, toString, usesPlatformDefaultSequence |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String OPERATION
public static java.lang.String CONSISTENCY
public static java.lang.String DURABILITY
public static java.lang.String TIMEOUT
public static java.lang.String VERSION
| Constructor Detail |
|---|
public OracleNoSQLPlatform()
| Method Detail |
|---|
public javax.resource.cci.InteractionSpec buildInteractionSpec(EISInteraction interaction)
buildInteractionSpec in class EISPlatform
public org.eclipse.persistence.internal.sessions.AbstractRecord buildRow(javax.resource.cci.Record record,
EISInteraction interaction,
EISAccessor accessor)
buildRow in class EISPlatform
public java.util.Vector buildRows(javax.resource.cci.Record record,
EISInteraction interaction,
EISAccessor accessor)
buildRows in class EISPlatformprotected void convertRecordBytesToString(org.eclipse.persistence.internal.nosql.adapters.nosql.OracleNoSQLRecord record)
public javax.resource.cci.Record createInputRecord(EISInteraction interaction,
EISAccessor accessor)
createInputRecord in class EISPlatform
public void setDOMInRecord(org.w3c.dom.Element dom,
javax.resource.cci.Record record,
EISInteraction interaction,
EISAccessor accessor)
setDOMInRecord in class EISPlatform
protected java.lang.Object createMajorKey(ClassDescriptor descriptor,
org.eclipse.persistence.internal.sessions.AbstractRecord record,
EISInteraction interaction,
EISAccessor accessor)
public org.eclipse.persistence.internal.sessions.AbstractRecord createDatabaseRowFromDOMRecord(javax.resource.cci.Record record,
EISInteraction call,
EISAccessor accessor)
createDatabaseRowFromDOMRecord in class EISPlatform
public void initializeDefaultQueries(DescriptorQueryManager queryManager,
org.eclipse.persistence.internal.sessions.AbstractSession session)
initializeDefaultQueries in class org.eclipse.persistence.internal.databaseaccess.DatasourcePlatformpublic boolean shouldPrepare(DatabaseQuery query)
shouldPrepare in class org.eclipse.persistence.internal.databaseaccess.DatasourcePlatformprotected Sequence createPlatformDefaultSequence()
createPlatformDefaultSequence in class org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform
|
EclipseLink 2.4.0, build 'v20120608-r11652' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||