org.nuiton.wikitty.query.conditions
Class Select
java.lang.Object
org.nuiton.wikitty.query.conditions.AbstractCondition
org.nuiton.wikitty.query.conditions.ContainerOperator
org.nuiton.wikitty.query.conditions.ContainerUnaryOperator
org.nuiton.wikitty.query.conditions.Select
- All Implemented Interfaces:
- Serializable, Condition, ConditionValue
public class Select
- extends ContainerUnaryOperator
- implements ConditionValue
Cette condition n'accept pas d'etre utilise dans une autre condition.
Il sert a demander l'extraction d'un autre champs que l'id. Si la valeur
du champs est retrouvee plusieurs fois, cette valeur n'apparaitra qu'une
seule fois dans les resultats (comme 'DISTINCT' en SQL)
Il y a donc deux types d'utilisation possible
SELECT extName.fieldName WHERE condition
condition ... IN (SELECT extName.fieldName WHERE other condition)
- Version:
- $Revision: 1463 $
Last update: $Date: 2012-04-05 18:08:38 +0200 (jeu, 05 avr 2012) $
by : $Author: bpoussin $
- Author:
- poussin
- See Also:
- Serialized Form
aggregate
protected Aggregate aggregate
element
protected Element element
Select
public Select(Element element)
Select
public Select(Element element,
Aggregate aggregate)
Select
public Select(Element element,
Condition restriction)
Select
public Select(Element element,
Aggregate aggregate,
Condition restriction)
getAggregate
public Aggregate getAggregate()
getElement
public Element getElement()
Copyright © 2009-2012 CodeLutin. All Rights Reserved.