|
ModeShape Distribution 3.2.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.jdbc.JcrMetaData
org.modeshape.jdbc.ModeShapeMetaData
public class ModeShapeMetaData
Specialized implementation for ModeShape-specific features.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.modeshape.jdbc.JcrMetaData |
|---|
JcrMetaData.PseudoPropertyDefinition |
| Field Summary |
|---|
| Fields inherited from class org.modeshape.jdbc.JcrMetaData |
|---|
DEFAULT_ZERO, NO_LIMIT, PSEUDO_COLUMN_DEFNS, PSEUDO_COLUMN_NAMES, WILDCARD |
| Constructor Summary | |
|---|---|
ModeShapeMetaData(JcrConnection connection)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModeShapeMetaData(JcrConnection connection)
| Method Detail |
|---|
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 DatabaseMetaDatasupportsFullOuterJoins in class JcrMetaDataDatabaseMetaData.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 DatabaseMetaDatasupportsUnion in class JcrMetaDataDatabaseMetaData.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 DatabaseMetaDatasupportsUnionAll in class JcrMetaDataDatabaseMetaData.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 DatabaseMetaDatanullPlusNonNullIsNull in class JcrMetaDataDatabaseMetaData.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 DatabaseMetaDatanullsAreSortedAtEnd in class JcrMetaDataDatabaseMetaData.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 DatabaseMetaDatanullsAreSortedAtStart in class JcrMetaDataDatabaseMetaData.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 DatabaseMetaDatanullsAreSortedHigh in class JcrMetaDataDatabaseMetaData.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 DatabaseMetaDatanullsAreSortedLow in class JcrMetaDataDatabaseMetaData.nullsAreSortedLow()
|
ModeShape Distribution 3.2.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||