public class ModeShapeMetaData extends JcrMetaData
JcrMetaData.PseudoPropertyDefinition
DEFAULT_ZERO, NO_LIMIT, PSEUDO_COLUMN_DEFNS, PSEUDO_COLUMN_NAMES, WILDCARD
attributeNoNulls, attributeNullable, attributeNullableUnknown, bestRowNotPseudo, bestRowPseudo, bestRowSession, bestRowTemporary, bestRowTransaction, bestRowUnknown, columnNoNulls, columnNullable, columnNullableUnknown, functionColumnIn, functionColumnInOut, functionColumnOut, functionColumnResult, functionColumnUnknown, functionNoNulls, functionNoTable, functionNullable, functionNullableUnknown, functionResultUnknown, functionReturn, functionReturnsTable, importedKeyCascade, importedKeyInitiallyDeferred, importedKeyInitiallyImmediate, importedKeyNoAction, importedKeyNotDeferrable, importedKeyRestrict, importedKeySetDefault, importedKeySetNull, procedureColumnIn, procedureColumnInOut, procedureColumnOut, procedureColumnResult, procedureColumnReturn, procedureColumnUnknown, procedureNoNulls, procedureNoResult, procedureNullable, procedureNullableUnknown, procedureResultUnknown, procedureReturnsResult, sqlStateSQL, sqlStateSQL99, sqlStateXOpen, tableIndexClustered, tableIndexHashed, tableIndexOther, tableIndexStatistic, typeNoNulls, typeNullable, typeNullableUnknown, typePredBasic, typePredChar, typePredNone, typeSearchable, versionColumnNotPseudo, versionColumnPseudo, versionColumnUnknown
Constructor and Description |
---|
ModeShapeMetaData(JcrConnection connection) |
Modifier and Type | Method and Description |
---|---|
boolean |
nullPlusNonNullIsNull()
ModeShape uses arithmetic operations in criteria, and in the current implementation if one operand is null then the
operations returns the other.
|
boolean |
nullsAreSortedAtEnd()
Assumed to be false for JCR implementations (meaning that sort order IS used), though section 6.7.37 of JCR 2.0
specification says ordering of null values is implementation-determined.
|
boolean |
nullsAreSortedAtStart()
Assumed to be false for JCR implementations (meaning that sort order IS used), though section 6.7.37 of JCR 2.0
specification says ordering of null values is implementation-determined.
|
boolean |
nullsAreSortedHigh()
Assumed to be false for JCR implementations, though section 6.7.37 of JCR 2.0 specification says ordering of null values is
implementation-determined.
|
boolean |
nullsAreSortedLow()
Assumed to be true for JCR implementations, though section 6.7.37 of JCR 2.0 specification says ordering of null values is
implementation-determined.
|
boolean |
supportsFullOuterJoins()
ModeShape does support
FULL OUTER JOIN , so this method returns true when this driver connects to a ModeShape
JCR repository. |
boolean |
supportsUnion()
ModeShape does support
UNION , so this method returns true when this driver connects to a ModeShape JCR
repository. |
boolean |
supportsUnionAll()
ModeShape does support
UNION ALL , so this method returns true when this driver connects to a ModeShape JCR
repository. |
allProceduresAreCallable, allTablesAreSelectable, autoCommitFailureClosesAllResultSets, dataDefinitionCausesTransactionCommit, dataDefinitionIgnoredInTransactions, deletesAreDetected, doesMaxRowSizeIncludeBlobs, generatedKeyAlwaysReturned, getAttributes, getBestRowIdentifier, getCatalogs, getCatalogSeparator, getCatalogTerm, getClientInfoProperties, getColumnPrivileges, getColumns, getConnection, getCrossReference, getDatabaseMajorVersion, getDatabaseMinorVersion, getDatabaseProductName, getDatabaseProductUrl, getDatabaseProductVersion, getDefaultTransactionIsolation, getDriverMajorVersion, getDriverMinorVersion, getDriverName, getDriverVersion, getExportedKeys, getExtraNameCharacters, getFunctionColumns, getFunctions, getIdentifierQuoteString, getImportedKeys, getIndexInfo, getJDBCMajorVersion, getJDBCMinorVersion, getMaxBinaryLiteralLength, getMaxCatalogNameLength, getMaxCharLiteralLength, getMaxColumnNameLength, getMaxColumnsInGroupBy, getMaxColumnsInIndex, getMaxColumnsInOrderBy, getMaxColumnsInSelect, getMaxColumnsInTable, getMaxConnections, getMaxCursorNameLength, getMaxIndexLength, getMaxProcedureNameLength, getMaxRowSize, getMaxSchemaNameLength, getMaxStatementLength, getMaxStatements, getMaxTableNameLength, getMaxTablesInSelect, getMaxUserNameLength, getNumericFunctions, getPrimaryKeys, getProcedureColumns, getProcedures, getProcedureTerm, getPseudoColumns, getResultSetHoldability, getRowIdLifetime, getSchemas, getSchemas, getSchemaTerm, getSearchStringEscape, getSQLKeywords, getSQLStateType, getStringFunctions, getSuperTables, getSuperTypes, getSystemFunctions, getTablePrivileges, getTables, getTableTypes, getTimeDateFunctions, getTypeInfo, getUDTs, getURL, getUserName, getVersionColumns, insertsAreDetected, isCatalogAtStart, isReadOnly, isWrapperFor, locatorsUpdateCopy, othersDeletesAreVisible, othersInsertsAreVisible, othersUpdatesAreVisible, ownDeletesAreVisible, ownInsertsAreVisible, ownUpdatesAreVisible, storesLowerCaseIdentifiers, storesLowerCaseQuotedIdentifiers, storesMixedCaseIdentifiers, storesMixedCaseQuotedIdentifiers, storesUpperCaseIdentifiers, storesUpperCaseQuotedIdentifiers, supportsAlterTableWithAddColumn, supportsAlterTableWithDropColumn, supportsANSI92EntryLevelSQL, supportsANSI92FullSQL, supportsANSI92IntermediateSQL, supportsBatchUpdates, supportsCatalogsInDataManipulation, supportsCatalogsInIndexDefinitions, supportsCatalogsInPrivilegeDefinitions, supportsCatalogsInProcedureCalls, supportsCatalogsInTableDefinitions, supportsColumnAliasing, supportsConvert, supportsConvert, supportsCoreSQLGrammar, supportsCorrelatedSubqueries, supportsDataDefinitionAndDataManipulationTransactions, supportsDataManipulationTransactionsOnly, supportsDifferentTableCorrelationNames, supportsExpressionsInOrderBy, supportsExtendedSQLGrammar, supportsGetGeneratedKeys, supportsGroupBy, supportsGroupByBeyondSelect, supportsGroupByUnrelated, supportsIntegrityEnhancementFacility, supportsLikeEscapeClause, supportsLimitedOuterJoins, supportsMinimumSQLGrammar, supportsMixedCaseIdentifiers, supportsMixedCaseQuotedIdentifiers, supportsMultipleOpenResults, supportsMultipleResultSets, supportsMultipleTransactions, supportsNamedParameters, supportsNonNullableColumns, supportsOpenCursorsAcrossCommit, supportsOpenCursorsAcrossRollback, supportsOpenStatementsAcrossCommit, supportsOpenStatementsAcrossRollback, supportsOrderByUnrelated, supportsOuterJoins, supportsPositionedDelete, supportsPositionedUpdate, supportsResultSetConcurrency, supportsResultSetHoldability, supportsResultSetType, supportsSavepoints, supportsSchemasInDataManipulation, supportsSchemasInIndexDefinitions, supportsSchemasInPrivilegeDefinitions, supportsSchemasInProcedureCalls, supportsSchemasInTableDefinitions, supportsSelectForUpdate, supportsStatementPooling, supportsStoredFunctionsUsingCallSyntax, supportsStoredProcedures, supportsSubqueriesInComparisons, supportsSubqueriesInExists, supportsSubqueriesInIns, supportsSubqueriesInQuantifieds, supportsTableCorrelationNames, supportsTransactionIsolationLevel, supportsTransactions, unwrap, updatesAreDetected, usesLocalFilePerTable, usesLocalFiles
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMaxLogicalLobSize, supportsRefCursors
public ModeShapeMetaData(JcrConnection connection)
public boolean supportsFullOuterJoins()
ModeShape does support FULL OUTER JOIN
, so this method returns true when this driver connects to a ModeShape
JCR repository.
supportsFullOuterJoins
in interface DatabaseMetaData
supportsFullOuterJoins
in class JcrMetaData
DatabaseMetaData.supportsFullOuterJoins()
public boolean supportsUnion()
ModeShape does support UNION
, so this method returns true when this driver connects to a ModeShape JCR
repository.
supportsUnion
in interface DatabaseMetaData
supportsUnion
in class JcrMetaData
DatabaseMetaData.supportsUnion()
public boolean supportsUnionAll()
ModeShape does support UNION ALL
, so this method returns true when this driver connects to a ModeShape JCR
repository.
supportsUnionAll
in interface DatabaseMetaData
supportsUnionAll
in class JcrMetaData
DatabaseMetaData.supportsUnionAll()
public boolean nullPlusNonNullIsNull()
ModeShape uses arithmetic operations in criteria, and in the current implementation if one operand is null then the
operations returns the other. Therefore, 'null + X = X', so this method returns false
.
nullPlusNonNullIsNull
in interface DatabaseMetaData
nullPlusNonNullIsNull
in class JcrMetaData
DatabaseMetaData.nullPlusNonNullIsNull()
public boolean nullsAreSortedAtEnd()
Assumed to be false for JCR implementations (meaning that sort order IS used), though section 6.7.37 of JCR 2.0 specification says ordering of null values is implementation-determined.
ModeShape definitely uses sort order. Therefore, this method always returns false
.
nullsAreSortedAtEnd
in interface DatabaseMetaData
nullsAreSortedAtEnd
in class JcrMetaData
DatabaseMetaData.nullsAreSortedAtEnd()
public boolean nullsAreSortedAtStart()
Assumed to be false for JCR implementations (meaning that sort order IS used), though section 6.7.37 of JCR 2.0 specification says ordering of null values is implementation-determined.
ModeShape definitely uses sort order. Therefore, this method always returns false
.
nullsAreSortedAtStart
in interface DatabaseMetaData
nullsAreSortedAtStart
in class JcrMetaData
DatabaseMetaData.nullsAreSortedAtStart()
public boolean nullsAreSortedHigh()
Assumed to be false for JCR implementations, though section 6.7.37 of JCR 2.0 specification says ordering of null values is implementation-determined.
ModeShape sorts null values to be lower than non-null values. Therefore, this method returns false
.
nullsAreSortedHigh
in interface DatabaseMetaData
nullsAreSortedHigh
in class JcrMetaData
DatabaseMetaData.nullsAreSortedHigh()
public boolean nullsAreSortedLow()
Assumed to be true for JCR implementations, though section 6.7.37 of JCR 2.0 specification says ordering of null values is implementation-determined.
ModeShape sorts null values to be lower than non-null values. Therefore, this method returns true
.
nullsAreSortedLow
in interface DatabaseMetaData
nullsAreSortedLow
in class JcrMetaData
DatabaseMetaData.nullsAreSortedLow()
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.