public class SQLJoinTest extends AbstractQueryTest
testroot path to node that allows child nodes of type:
nodetype
nodetype name of a node type that allows assignment of mixin
referenceable.
nodename1 name of a child node of type: nodetype.
nodename2 name of a child node of type: nodetype.
jcrContains, jcrDeref, jcrPath, jcrRoot, jcrScore, qf, qm, qsSQL, qsXPATH, vf, xpathRootisReadOnly, jcrBaseVersion, jcrCopiedFrom, jcrCreated, jcrFrozenNode, jcrFrozenUuid, jcrIsCheckedOut, jcrlockIsDeep, jcrLockOwner, jcrMergeFailed, jcrMixinTypes, jcrPredecessors, jcrPrimaryType, jcrRootVersion, jcrSuccessors, jcrSystem, jcrUUID, jcrVersionHistory, mixLockable, mixReferenceable, mixShareable, mixSimpleVersionable, mixTitle, mixVersionable, nodeName1, nodeName2, nodeName3, nodeName4, NS_JCR_URI, NS_MIX_URI, NS_NT_URI, NS_SV_URI, ntActivity, ntBase, ntFrozenNode, ntQuery, ntUnstructured, ntVersion, ntVersionHistory, ntVersionLabels, propertyName1, propertyName2, superuser, testNodeType, testNodeTypeNoChildren, testNodeTypeTestRoot, testPath, testRoot, testRootNode, workspaceName| Constructor and Description |
|---|
SQLJoinTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testJoin()
Test a SQL query with a primary and mixin nodetype join.
|
void |
testJoinFilterPrimaryType()
Test a SQL query with a primary type and mixin nodetype join.
|
void |
testJoinNtBase()
Test a SQL query with a nt:base primary type and mixin nodetype join.
|
void |
testJoinSNS()
Test a SQL query with a primary and mixin nodetype join on child nodes
with same name siblings.
|
checkResult, checkResult, checkResult, checkResult, createQuery, createQuery, createQuery, escapeIdentifierForSQL, evaluateResultOrder, execute, execute, executeSqlQuery, executeSqlQuery, executeXPathQuery, isSupportedLanguage, setUp, tearDown, toArraycheckSupportedOption, cleanUp, cleanUpTestRoot, createRandomString, ensureCanSetProperty, ensureCanSetProperty, ensureCanSetProperty, ensureKnowsNodeType, ensureLockingSupported, ensureMixinType, ensureMultipleWorkspacesSupported, getHelper, getJcrValue, getLocalName, getNonExistingWorkspaceName, getPrefix, getProperty, getProperty, getQualifiedName, getSize, isSupported, needsMixin, runassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, runBare, runTest, setName, toStringpublic void testJoin()
throws RepositoryException,
NotExecutableException
public void testJoinNtBase()
throws RepositoryException,
NotExecutableException
public void testJoinFilterPrimaryType()
throws RepositoryException,
NotExecutableException
public void testJoinSNS()
throws RepositoryException,
NotExecutableException
testroot path to node that allows child nodes with same name.
nodename1 node name of the same name siblings.
NotExecutableException - if testroot does not allow
same name siblings.RepositoryExceptionCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.