org.opengis.filter.expression
Interface Function

All Superinterfaces:
Expression
All Known Subinterfaces:
Categorize, FunctionExpression, GeometryTransformation, InternalFunction, Interpolate, Recode, RenderingTransformation, VolatileFunction
All Known Implementing Classes:
AreaFunction, AsMultiGeometryFunctionExpression, CategorizeFunction, ClassificationFunction, ClassifyFunction, Collection_AverageFunction, Collection_BoundsFunction, Collection_CountFunction, Collection_MaxFunction, Collection_MedianFunction, Collection_MinFunction, Collection_SumFunction, Collection_UniqueFunction, ConcatenateFunction, EnvFunction, EqualIntervalFunction, FallbackFunction, FilterFunction_abs, FilterFunction_abs_2, FilterFunction_abs_3, FilterFunction_abs_4, FilterFunction_acos, FilterFunction_area, FilterFunction_asin, FilterFunction_atan, FilterFunction_atan2, FilterFunction_between, FilterFunction_boundary, FilterFunction_boundaryDimension, FilterFunction_buffer, FilterFunction_bufferWithSegments, FilterFunction_ceil, FilterFunction_centroid, FilterFunction_contains, FilterFunction_Convert, FilterFunction_convexHull, FilterFunction_cos, FilterFunction_crosses, FilterFunction_dateFormat, FilterFunction_dateParse, FilterFunction_difference, FilterFunction_dimension, FilterFunction_disjoint, FilterFunction_disjoint3D, FilterFunction_distance, FilterFunction_distance3D, FilterFunction_double2bool, FilterFunction_endAngle, FilterFunction_endPoint, FilterFunction_envelope, FilterFunction_equalsExact, FilterFunction_equalsExactTolerance, FilterFunction_equalTo, FilterFunction_exp, FilterFunction_exteriorRing, FilterFunction_floor, FilterFunction_geometryType, FilterFunction_geomFromWKT, FilterFunction_geomLength, FilterFunction_getGeometryN, FilterFunction_getX, FilterFunction_getY, FilterFunction_getZ, FilterFunction_greaterEqualThan, FilterFunction_greaterThan, FilterFunction_IEEEremainder, FilterFunction_if_then_else, FilterFunction_in10, FilterFunction_in2, FilterFunction_in3, FilterFunction_in4, FilterFunction_in5, FilterFunction_in6, FilterFunction_in7, FilterFunction_in8, FilterFunction_in9, FilterFunction_int2bbool, FilterFunction_int2ddouble, FilterFunction_interiorPoint, FilterFunction_interiorRingN, FilterFunction_intersection, FilterFunction_intersects, FilterFunction_intersects3D, FilterFunction_isClosed, FilterFunction_isEmpty, FilterFunction_isLike, FilterFunction_isNull, FilterFunction_isometric, FilterFunction_isRing, FilterFunction_isSimple, FilterFunction_isValid, FilterFunction_isWithinDistance, FilterFunction_isWithinDistance3D, FilterFunction_lessEqualThan, FilterFunction_lessThan, FilterFunction_list, FilterFunction_log, FilterFunction_max, FilterFunction_max_2, FilterFunction_max_3, FilterFunction_max_4, FilterFunction_min, FilterFunction_min_2, FilterFunction_min_3, FilterFunction_min_4, FilterFunction_minimumCircle, FilterFunction_minimumDiameter, FilterFunction_minimumRectangle, FilterFunction_not, FilterFunction_notEqualTo, FilterFunction_numberFormat, FilterFunction_numberFormat2, FilterFunction_numGeometries, FilterFunction_numInteriorRing, FilterFunction_numPoints, FilterFunction_octagonalEnvelope, FilterFunction_offset, FilterFunction_overlaps, FilterFunction_parseBoolean, FilterFunction_parseDouble, FilterFunction_parseInt, FilterFunction_parseLong, FilterFunction_pointN, FilterFunction_pow, FilterFunction_property, FilterFunction_random, FilterFunction_relate, FilterFunction_relatePattern, FilterFunction_rint, FilterFunction_round, FilterFunction_round_2, FilterFunction_roundDouble, FilterFunction_sdonn, FilterFunction_setCRS, FilterFunction_sin, FilterFunction_sqrt, FilterFunction_startAngle, FilterFunction_startPoint, FilterFunction_strCapitalize, FilterFunction_strConcat, FilterFunction_strEndsWith, FilterFunction_strEqualsIgnoreCase, FilterFunction_strIndexOf, FilterFunction_strLastIndexOf, FilterFunction_strLength, FilterFunction_strMatches, FilterFunction_strPosition, FilterFunction_strReplace, FilterFunction_strStartsWith, FilterFunction_strSubstring, FilterFunction_strSubstringStart, FilterFunction_strToLowerCase, FilterFunction_strToUpperCase, FilterFunction_strTrim, FilterFunction_strTrim2, FilterFunction_symDifference, FilterFunction_tan, FilterFunction_toDegrees, FilterFunction_toRadians, FilterFunction_touches, FilterFunction_toWKT, FilterFunction_union, FilterFunction_vertices, FilterFunction_within, FormatDateTimezoneFunction, FunctionExpressionImpl, FunctionImpl, IDFunction, IDFunctionExpression, InternalVolatileFunction, InterpolateFunction, JenksNaturalBreaksFunction, LengthFunction, MaxFunction, MinFunction, ModuloFunction, PaletteFunction, PiFunction, ProcessFunction, PropertyExistsFunction, QuantileFunction, RecodeFunction, ReprojectingFilterVisitor.FunctionReprojector, RescaleToPixelsFunction, StandardDeviationFunction, StringInFunction, ToDirectPositionFunction, ToEnvelopeFunction, ToLineStringFunction, ToPointFunction, ToXlinkHrefFunction, UniqueIntervalFunction, VocabFunction

@XmlElement(value="Function")
public interface Function
extends Expression

Instances of this class represent a function call into some implementation-specific function.

Each execution environment should provide a list of supported functions (and the number of arguments they expect) as part of a FilterCapabilities data structure.

This is included for completeness with respect to the OGC Filter specification. However, no functions are required to be supported by that specification.

Since:
GeoAPI 2.0
Author:
Chris Dillard (SYS Technologies)

Field Summary
 
Fields inherited from interface Expression
NIL
 
Method Summary
 Literal getFallbackValue()
          The value of the fallbackValue attribute is used as a default value, if the SE implementation does not support the function.
 FunctionName getFunctionName()
          Access to the FunctionName description as used in a FilterCapabilities document.
 String getName()
          Returns the name of the function to be called.
 List<Expression> getParameters()
          Returns the list subexpressions that will be evaluated to provide the parameters to the function.
 
Methods inherited from interface Expression
accept, evaluate, evaluate
 

Method Detail

getName

String getName()
Returns the name of the function to be called. For example, this might be "cos" or "atan2".

You can use this name to look up the number of required parameters in a FilterCapabilities data structure. For the specific meaning of the required parameters you will need to consult the documentation.


getFunctionName

FunctionName getFunctionName()
Access to the FunctionName description as used in a FilterCapabilities document.

Returns:
FunctionName description, if available.

getParameters

List<Expression> getParameters()
Returns the list subexpressions that will be evaluated to provide the parameters to the function.


getFallbackValue

@XmlElement(value="fallbackValue")
Literal getFallbackValue()
The value of the fallbackValue attribute is used as a default value, if the SE implementation does not support the function. If the implementation supports the function, then the result value is determined by executing the function.

Returns:
Optional literal to use if an implementation for this function is not available.
Since:
GeoAPI 2.2


Copyright © 1996-2014 Geotools. All Rights Reserved.