|
||||||||||
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 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |