Class SelectionClauseWriter.Function
java.lang.Object
org.apache.sis.internal.sql.feature.SelectionClauseWriter.Function
- All Implemented Interfaces:
BiConsumer<Filter<AbstractFeature>,
SelectionClause>
- Enclosing class:
- SelectionClauseWriter
private final class SelectionClauseWriter.Function
extends Object
implements BiConsumer<Filter<AbstractFeature>,SelectionClause>
Appends a function name with an arbitrary number of parameters (potentially zero).
This method stops immediately if a parameter cannot be expressed in SQL, leaving
the trailing part of the SQL in an invalid state.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(Filter<AbstractFeature> filter, SelectionClause sql) Writes the function as an SQL statement.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiConsumer
andThen
-
Field Details
-
name
Name the function.
-
-
Constructor Details
-
Function
Function(String name) Creates a function of the given name.
-
-
Method Details
-
accept
Writes the function as an SQL statement.- Specified by:
accept
in interfaceBiConsumer<Filter<AbstractFeature>,
SelectionClause>
-