|
EclipseLink NoSQL 2.4.1, build 'v20121003-ad44345' 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(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. |
| Methods inherited from class org.eclipse.persistence.eis.EISPlatform |
|---|
appendParameter, buildCallFromStatement, buildNativeCall, createDOMRecord, createOutputRecord, getConversionManager, getRecordConverter, getValueFromRecord, isDOMRecordSupported, isIndexedRecordSupported, isMappedRecordSupported, requiresAutoCommit, setIsDOMRecordSupported, setIsIndexedRecordSupported, setIsMappedRecordSupported, setRecordConverter, setRequiresAutoCommit, setShouldConvertDataToStrings, setSupportsLocalTransactions, setValueInRecord, shouldConvertDataToStrings, supportsLocalTransactions |
| 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(org.eclipse.persistence.eis.interactions.EISInteraction interaction)
buildInteractionSpec in class org.eclipse.persistence.eis.EISPlatform
public 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.EISPlatform
public 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.EISPlatform
public 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.EISPlatform
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)
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.EISPlatform
public 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
|
EclipseLink NoSQL 2.4.1, build 'v20121003-ad44345' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||