| java.lang.Object org.mmbase.bridge.implementation.BasicQuery
All known Subclasses: org.mmbase.bridge.implementation.BasicNodeQuery,
Method Summary | |
public AggregatedField | addAggregatedField(Step step, Field field, int aggregationType) | public StepField | addField(Step step, Field field) | public StepField | addField(String fieldIdentifier) | protected void | addFieldImplicit(Step step, Field field) Fields which are added 'implicity' should be added by this function. | public void | addNode(Step s, int nodeNumber) | public void | addNode(Step s, Node node) | protected BasicRelationStep | addRelationStep(InsRel insrel, NodeManager otherNodeManager, int direction) | public RelationStep | addRelationStep(NodeManager otherNodeManager) | public RelationStep | addRelationStep(NodeManager otherNodeManager, String role, String direction) | protected RelationStep | addRelationStep(NodeManager otherNodeManager, String role, String direction, boolean warnOnImpossibleStep) | public SortOrder | addSortOrder(StepField f, int direction) | public SortOrder | addSortOrder(StepField f, int direction, boolean caseSensitive) | public SortOrder | addSortOrder(StepField f, int direction, boolean caseSensitive, int part) | public Step | addStep(NodeManager nm) | public Query | aggregatingClone() | public Object | clone() | public Query | cloneWithoutFields() | protected String | createAlias(String name) | public LegacyConstraint | createConstraint(String s) | public FieldNullConstraint | createConstraint(StepField f) | public FieldValueConstraint | createConstraint(StepField f, Object v) | public FieldValueConstraint | createConstraint(StepField f, int op, Object v, int part) | public FieldValueConstraint | createConstraint(StepField f, int op, Object v) | public CompareFieldsConstraint | createConstraint(StepField f, int op, StepField v) | public FieldValueBetweenConstraint | createConstraint(StepField f, Object o1, Object o2) | public FieldValueInConstraint | createConstraint(StepField f, SortedSet<? extends Object> v) | public CompositeConstraint | createConstraint(Constraint c1, int operator, Constraint c2) | protected void | createNewQuery() | public StepField | createStepField(Step step, Field field) | public StepField | createStepField(Step step, String fieldName) | public StepField | createStepField(String fieldIdentifier) | public boolean | equals(Object obj) | public CachePolicy | getCachePolicy() | public Constraint | getCleanConstraint() | public Cloud | getCloud() | public Constraint | getConstraint() | public List<StepField> | getFields() | public NodeList | getList() | public int | getMaxNumber() | public int | getOffset() | public BasicSearchQuery | getQuery() | public List<SortOrder> | getSortOrders() | public Step | getStep(String stepAlias) | public List<Step> | getSteps() | protected String | glueAlias(String aliasBase, Integer seq) Glues a string and integer together to a new string. | public int | hashCode() | public boolean | isAggregating() | public boolean | isDistinct() | boolean | isSecure() | public boolean | isUsed() | public boolean | markUsed() | public void | removeFields() | void | removeSecurityConstraint() | protected void | removeSecurityConstraintFromClone(BasicSearchQuery clone) | public void | setAlias(Step step, String alias) | public void | setCachePolicy(CachePolicy policy) | public FieldConstraint | setCaseSensitive(FieldConstraint c, boolean s) | public void | setConstraint(Constraint c) | public Query | setDistinct(boolean distinct) | public Constraint | setInverse(Constraint c, boolean i) | public Query | setMaxNumber(int maxNumber) | public Query | setOffset(int offset) | void | setSecurityConstraint(Authorization.QueryCheck c) Applies a security-constraint to this Query. | public String | toSql() | public String | toString() |
aggregating | protected boolean aggregating(Code) | | Whether this Query is aggregating.
|
cloud | protected Cloud cloud(Code) | | reference to the cloud.
|
explicitFields | protected List<StepField> explicitFields(Code) | | The explicitely added 'extra' fields. Because you explicitely added those, they will not be removed if the query becomes 'distinct'.
|
implicitFields | protected List<StepField> implicitFields(Code) | | The implicitely added 'extra' fields. These are removed if the query becomes 'distinct'. So,
you can e.g. not do element= on a distinct query result.
|
insecureConstraint | protected Constraint insecureConstraint(Code) | | If a the contraint was made 'secure', in insecureConstraint the original Constraint is
stored. This object is null if either the queryCheck object is not yet determined, or the
orignal query did not have constraints.
|
queryCheck | protected Authorization.QueryCheck queryCheck(Code) | | The QueryCheck object associated with this Query, or null if no such object was determined yet.
|
used | protected boolean used(Code) | | Whether this Query was used already. If it is used, it may not be changed any more.
|
BasicQuery | BasicQuery(Cloud c, boolean aggregating)(Code) | | |
addFieldImplicit | protected void addFieldImplicit(Step step, Field field)(Code) | | Fields which are added 'implicity' should be added by this function.
|
addNode | public void addNode(Step s, int nodeNumber)(Code) | | since: MMBase-1.7.1 |
cloneWithoutFields | public Query cloneWithoutFields()(Code) | | |
createAlias | protected String createAlias(String name)(Code) | | Creates a unique alias for this Query based on a given base String
|
createNewQuery | protected void createNewQuery()(Code) | | |
getMaxNumber | public int getMaxNumber()(Code) | | |
getOffset | public int getOffset()(Code) | | |
glueAlias | protected String glueAlias(String aliasBase, Integer seq)(Code) | | Glues a string and integer together to a new string.
|
hashCode | public int hashCode()(Code) | | |
isAggregating | public boolean isAggregating()(Code) | | |
isDistinct | public boolean isDistinct()(Code) | | |
isSecure | boolean isSecure()(Code) | | |
isUsed | public boolean isUsed()(Code) | | |
markUsed | public boolean markUsed()(Code) | | |
removeFields | public void removeFields()(Code) | | |
removeSecurityConstraintFromClone | protected void removeSecurityConstraintFromClone(BasicSearchQuery clone)(Code) | | since: MMBase-1.7.1 |
setDistinct | public Query setDistinct(boolean distinct)(Code) | | |
setMaxNumber | public Query setMaxNumber(int maxNumber)(Code) | | |
|
|