Package com.attivio.sdk.server.udf
Interface UserDefinedFieldContext
-
public interface UserDefinedFieldContext
Provides per-query context information for the evaluation of user defined fields.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Locale
getLocale()
Get theLocale
for the query request.long
getNow()
Get the timestamp for the query request.java.lang.Object
getRequestParameter(java.lang.String name)
Get a request parameter byname
.Schema
getSchema()
Get theSchema
.long
getSeed()
Get a numeric seed value for the query request.java.util.TimeZone
getTimeZone()
Get theTimeZone
for the query request.
-
-
-
Method Detail
-
getRequestParameter
java.lang.Object getRequestParameter(java.lang.String name)
Get a request parameter byname
.Request parameters are defined as properties on the
QueryRequest
.
-
getLocale
java.util.Locale getLocale()
Get theLocale
for the query request.May be
null
if query did not specify locale.
-
getTimeZone
java.util.TimeZone getTimeZone()
Get theTimeZone
for the query request.May be
null
if query did not specify time zone.
-
getNow
long getNow()
Get the timestamp for the query request.This is a stable value that is used for the current time. Multiple calls to this method will always return the same value.
-
getSeed
long getSeed()
Get a numeric seed value for the query request.This value should be used for seeding any random value generators used during evaluation.
-
-