public class OracleNoSQLPlatform
extends org.eclipse.persistence.eis.EISPlatform
| Modifier and Type | Field and Description |
|---|---|
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 |
domMethod, isDOMRecordSupported, isIndexedRecordSupported, isMappedRecordSupported, recordConverter, requiresAutoCommit, shouldConvertDataToStrings, supportsLocalTransactions, xmlConversionManagerconversionManager, dataTypesConvertedFromAClass, dataTypesConvertedToAClass, defaultNativeSequenceToTable, defaultSequence, endDelimiter, platformOperators, sequences, sequencesLock, startDelimiter, tableQualifier, timestampQuery| Constructor and Description |
|---|
OracleNoSQLPlatform()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
javax.resource.cci.InteractionSpec |
buildInteractionSpec(org.eclipse.persistence.eis.interactions.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,
org.eclipse.persistence.eis.interactions.EISInteraction interaction,
org.eclipse.persistence.eis.EISAccessor accessor)
INTERNAL:
Allow the platform to handle record to row conversion.
|
java.util.Vector |
buildRows(javax.resource.cci.Record record,
org.eclipse.persistence.eis.interactions.EISInteraction interaction,
org.eclipse.persistence.eis.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,
org.eclipse.persistence.eis.interactions.EISInteraction call,
org.eclipse.persistence.eis.EISAccessor accessor)
Allow the platform to handle the creation of the Record for the DOM record.
|
javax.resource.cci.Record |
createInputRecord(org.eclipse.persistence.eis.interactions.EISInteraction interaction,
org.eclipse.persistence.eis.EISAccessor accessor)
Allow the platform to create the appropriate type of record for the interaction.
|
protected java.lang.Object |
createMajorKey(org.eclipse.persistence.descriptors.ClassDescriptor descriptor,
org.eclipse.persistence.internal.sessions.AbstractRecord record,
org.eclipse.persistence.eis.interactions.EISInteraction interaction,
org.eclipse.persistence.eis.EISAccessor accessor)
NoSQL stores the data in a single big map.
|
protected org.eclipse.persistence.sequencing.Sequence |
createPlatformDefaultSequence()
INTERNAL:
NoSQL does not support id generation, so use UUID as the default.
|
void |
initializeDefaultQueries(org.eclipse.persistence.descriptors.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,
org.eclipse.persistence.eis.interactions.EISInteraction interaction,
org.eclipse.persistence.eis.EISAccessor accessor)
Stores the XML DOM value into the record.
|
boolean |
shouldPrepare(org.eclipse.persistence.queries.DatabaseQuery query)
Do not prepare to avoid errors being triggered for id and all queries.
|
appendParameter, buildCallFromStatement, buildNativeCall, createDOMRecord, createOutputRecord, getConversionManager, getRecordConverter, getValueFromRecord, isDOMRecordSupported, isIndexedRecordSupported, isMappedRecordSupported, requiresAutoCommit, setIsDOMRecordSupported, setIsIndexedRecordSupported, setIsMappedRecordSupported, setRecordConverter, setRequiresAutoCommit, setShouldConvertDataToStrings, setSupportsLocalTransactions, setValueInRecord, shouldConvertDataToStrings, supportsLocalTransactionsaddOperator, addSequence, addSequence, buildSelectQueryForIdentity, buildSelectQueryForIdentity, buildSelectQueryForSequenceObject, buildSelectQueryForSequenceObject, clone, convertObject, copyInto, createConnectionCustomizer, getCustomModifyValueForCall, getDataTypesConvertedFrom, getDataTypesConvertedTo, getDefaultNativeSequenceToTable, 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, isHANA, isHSQL, isInformix, isMaxDB, isMySQL, isODBC, isOracle, isOracle9, isPervasive, isPointBase, isPostgreSQL, isSQLAnywhere, isSQLServer, isSybase, isSymfoware, isTimesTen, isTimesTen7, removeAllSequences, removeSequence, sequencesAfterCloneCleanup, setConversionManager, setDefaultNativeSequenceToTable, setDefaultSequence, setEndDelimiter, setSelectSequenceNumberQuery, setSequencePreallocationSize, setSequences, setStartDelimiter, setTableQualifier, setTimestampQuery, setUpdateSequenceQuery, shouldNativeSequenceUseTransaction, shouldSelectDistinctIncludeOrderBy, shouldSelectIncludeOrderBy, shouldUseCustomModifyForCall, supportsIdentity, supportsNativeSequenceNumbers, supportsSequenceObjects, toString, usesPlatformDefaultSequencepublic 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
public javax.resource.cci.InteractionSpec buildInteractionSpec(org.eclipse.persistence.eis.interactions.EISInteraction interaction)
buildInteractionSpec in class org.eclipse.persistence.eis.EISPlatformpublic org.eclipse.persistence.internal.sessions.AbstractRecord buildRow(javax.resource.cci.Record record,
org.eclipse.persistence.eis.interactions.EISInteraction interaction,
org.eclipse.persistence.eis.EISAccessor accessor)
buildRow in class org.eclipse.persistence.eis.EISPlatformpublic java.util.Vector buildRows(javax.resource.cci.Record record,
org.eclipse.persistence.eis.interactions.EISInteraction interaction,
org.eclipse.persistence.eis.EISAccessor accessor)
buildRows in class org.eclipse.persistence.eis.EISPlatformprotected void convertRecordBytesToString(org.eclipse.persistence.internal.nosql.adapters.nosql.OracleNoSQLRecord record)
public javax.resource.cci.Record createInputRecord(org.eclipse.persistence.eis.interactions.EISInteraction interaction,
org.eclipse.persistence.eis.EISAccessor accessor)
createInputRecord in class org.eclipse.persistence.eis.EISPlatformpublic void setDOMInRecord(org.w3c.dom.Element dom,
javax.resource.cci.Record record,
org.eclipse.persistence.eis.interactions.EISInteraction interaction,
org.eclipse.persistence.eis.EISAccessor accessor)
setDOMInRecord in class org.eclipse.persistence.eis.EISPlatformprotected java.lang.Object createMajorKey(org.eclipse.persistence.descriptors.ClassDescriptor descriptor,
org.eclipse.persistence.internal.sessions.AbstractRecord record,
org.eclipse.persistence.eis.interactions.EISInteraction interaction,
org.eclipse.persistence.eis.EISAccessor accessor)
public org.eclipse.persistence.internal.sessions.AbstractRecord createDatabaseRowFromDOMRecord(javax.resource.cci.Record record,
org.eclipse.persistence.eis.interactions.EISInteraction call,
org.eclipse.persistence.eis.EISAccessor accessor)
createDatabaseRowFromDOMRecord in class org.eclipse.persistence.eis.EISPlatformpublic void initializeDefaultQueries(org.eclipse.persistence.descriptors.DescriptorQueryManager queryManager,
org.eclipse.persistence.internal.sessions.AbstractSession session)
initializeDefaultQueries in class org.eclipse.persistence.internal.databaseaccess.DatasourcePlatformpublic boolean shouldPrepare(org.eclipse.persistence.queries.DatabaseQuery query)
shouldPrepare in class org.eclipse.persistence.internal.databaseaccess.DatasourcePlatformprotected org.eclipse.persistence.sequencing.Sequence createPlatformDefaultSequence()
createPlatformDefaultSequence in class org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform