|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.sqldialect.filter.expression.SQLOperation
public class SQLOperation
SQLExpression
that represents an operation, e.g. an addition, an intersects predicate or a distance
calculation.
Constructor Summary | |
---|---|
SQLOperation(List<Object> particles)
|
Method Summary | |
---|---|
void |
cast(SQLExpression expr)
Propagates type information to this expression (=performs a type cast). |
List<SQLArgument> |
getArguments()
Returns the SQLArgument instances that occur in the expression, in same order as in the SQL snippet. |
ParticleConverter |
getConverter()
Returns the attached particle converter for this expression. |
CRS |
getCRS()
Returns the CRS of the expression (only for spatial ones). |
PrimitiveType |
getPrimitiveType()
Returns the primitive type of this expression. |
StringBuilder |
getSQL()
Returns the corresponding SQL snippet, with question marks for every SQLArgument argument (as required
for JDBC PreparedStatement s). |
String |
getSRID()
Returns the databases' SRID of the expression (only for spatial ones). |
boolean |
isMultiValued()
Returns whether the expression has multiple values (currently this can only be a string column that stores multiple values in concatenated form). |
boolean |
isSpatial()
Returns whether the expression denotes a spatial value. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SQLOperation(List<Object> particles)
Method Detail |
---|
public boolean isSpatial()
SQLExpression
isSpatial
in interface SQLExpression
public boolean isMultiValued()
SQLExpression
isMultiValued
in interface SQLExpression
public String toString()
toString
in class Object
public List<SQLArgument> getArguments()
SQLExpression
SQLArgument
instances that occur in the expression, in same order as in the SQL snippet.
getArguments
in interface SQLExpression
null
SQLExpression.getSQL()
public StringBuilder getSQL()
SQLExpression
SQLArgument
argument (as required
for JDBC PreparedStatement
s).
getSQL
in interface SQLExpression
null
SQLExpression.getArguments()
public CRS getCRS()
SQLExpression
getCRS
in interface SQLExpression
null
(unknown or not a spatial expression)public String getSRID()
SQLExpression
getSRID
in interface SQLExpression
null
(unknown or not a spatial expression)public PrimitiveType getPrimitiveType()
SQLExpression
getPrimitiveType
in interface SQLExpression
null
(no type information / spatial)public void cast(SQLExpression expr)
SQLExpression
cast
in interface SQLExpression
expr
- type information to be applied, must not be null
public ParticleConverter getConverter()
SQLExpression
getConverter
in interface SQLExpression
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |