public interface GraphQueryBuilder
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
GraphQuery |
getQuery()
Gets the query.
|
void |
restrictToAnonymous(java.lang.Boolean restrictToAnonymous) |
void |
restrictToAssociations(NameAndValueList association,
NameAndValueList associationQualifiers)
Restrict the graph to the nodes that participate as a source or target of
the named association and, if supplied, the named association qualifiers.
|
void |
restrictToCodes(CodedNodeSet codes)
Return a graph that contains only the codes that are present in the
supplied list, and all edges that still have a source and target code
remaining.
|
void |
restrictToCodeSystem(java.lang.String codingScheme)
Restrict the graph to codes (source and target) that originate
from the supplied code system.
|
void |
restrictToDirectionalNames(NameAndValueList directionalNames,
NameAndValueList associationQualifiers)
Restrict the graph to the nodes that participate as a source or target of
an association whose directional name matches the one provided and, if
supplied, the named association qualifiers.
|
void |
restrictToEntityTypes(LocalNameList localNameList) |
void |
restrictToSourceCodes(CodedNodeSet codes)
Restrict the graph to associations that have one of the codes in the
supplied list as source codes.
|
void |
restrictToSourceCodeSystem(java.lang.String codingScheme)
Restrict the graph to edges that have codes from the specified
code system as a source.
|
void |
restrictToTargetCodes(CodedNodeSet codes)
Restrict the graph to associations that have one of the codes in the
supplied list as target codes.
|
void |
restrictToTargetCodeSystem(java.lang.String codingScheme)
Restrict the graph to edges that have codes from the specified
code system as a target.
|
GraphQuery getQuery()
void restrictToAssociations(NameAndValueList association, NameAndValueList associationQualifiers) throws LBInvocationException, LBParameterException
association
- List of associations used to restrict the graph. The name and
value for each item in the list will be compared against the
id and URI of supported associations for participating
coding schemes.associationQualifiers
- If supplied, restriction only applies to associations that are
qualified by one or more of the supplied qualifiers. The name
and value for each item in the list will be compared against
the id and URI of supported association qualifiers for
participating coding schemes.LBInvocationException,LBParameterException
- * @throws LBInvocationException the LB invocation exceptionLBParameterException
- the LB parameter exceptionLBInvocationException
- the LB invocation exceptionvoid restrictToDirectionalNames(NameAndValueList directionalNames, NameAndValueList associationQualifiers) throws LBInvocationException, LBParameterException
directionalNames
- List of directionalNames used to restrict the graph. A
directional name is compared against the forward and reverse
names for defined associations. If a given name matches more
than one forward or reverse label, all corresponding
associations are included in the restriction.associationQualifiers
- If supplied, restriction only applies to associations that are
qualified by one or more of the supplied qualifiers. The name
and value for each item in the list will be compared against
the id and URI of supported association qualifiers for
participating coding schemes.LBInvocationException
- ,LBParameterExceptionLBParameterException
- the LB parameter exceptionvoid restrictToCodes(CodedNodeSet codes) throws LBInvocationException, LBParameterException
codes
- Codes to filter on.LBInvocationException,LBParameterException
- * @throws LBInvocationException the LB invocation exceptionLBParameterException
- the LB parameter exceptionLBInvocationException
- the LB invocation exceptionvoid restrictToCodeSystem(java.lang.String codingScheme) throws LBInvocationException, LBParameterException
codingScheme
- The local name or URI of the coding scheme to filter on.LBInvocationException,LBParameterException
- * @throws LBInvocationException the LB invocation exceptionLBParameterException
- the LB parameter exceptionLBInvocationException
- the LB invocation exceptionvoid restrictToSourceCodes(CodedNodeSet codes) throws LBInvocationException, LBParameterException
codes
- Codes to filter on.LBInvocationException,LBParameterException
- * @throws LBInvocationException the LB invocation exceptionLBParameterException
- the LB parameter exceptionLBInvocationException
- the LB invocation exceptionvoid restrictToSourceCodeSystem(java.lang.String codingScheme) throws LBInvocationException, LBParameterException
codingScheme
- The local name or URI of the coding scheme to filter on.LBInvocationException,LBParameterException
- * @throws LBInvocationException the LB invocation exceptionLBParameterException
- the LB parameter exceptionLBInvocationException
- the LB invocation exceptionvoid restrictToTargetCodes(CodedNodeSet codes) throws LBInvocationException, LBParameterException
codes
- Codes to filter on.LBInvocationException,LBParameterException
- * @throws LBInvocationException the LB invocation exceptionLBParameterException
- the LB parameter exceptionLBInvocationException
- the LB invocation exceptionvoid restrictToTargetCodeSystem(java.lang.String codingScheme) throws LBInvocationException, LBParameterException
codingScheme
- The local name or URI of the coding scheme to filter on.LBInvocationException,LBParameterException
- * @throws LBInvocationException the LB invocation exceptionLBParameterException
- the LB parameter exceptionLBInvocationException
- the LB invocation exceptionvoid restrictToEntityTypes(LocalNameList localNameList) throws LBInvocationException, LBParameterException
void restrictToAnonymous(java.lang.Boolean restrictToAnonymous) throws LBInvocationException, LBParameterException