trait QueryInterceptor extends Closeable
Provides a hook to modify a query before executing it
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- QueryInterceptor
- Closeable
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
close(): Unit
- Definition Classes
- Closeable → AutoCloseable
- Annotations
- @throws( classOf[java.io.IOException] )
-
abstract
def
init(ds: DataStore, sft: SimpleFeatureType): Unit
Called exactly once after the interceptor is instantiated
Called exactly once after the interceptor is instantiated
- ds
data store
- sft
simple feature type
-
abstract
def
rewrite(query: Query): Unit
Modifies the query in place
Modifies the query in place
- query
query
Concrete Value Members
-
def
guard(strategy: QueryStrategy): Option[IllegalArgumentException]
Hook to allow interception of a query after extracting the query values
Hook to allow interception of a query after extracting the query values
- strategy
query strategy
- returns
an exception if the query should be stopped