Package com.attivio.sdk.server.udf
Interface UserDefinedFieldContext
-
public interface UserDefinedFieldContextProvides 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.LocalegetLocale()Get theLocalefor the query request.longgetNow()Get the timestamp for the query request.java.lang.ObjectgetRequestParameter(java.lang.String name)Get a request parameter byname.SchemagetSchema()Get theSchema.longgetSeed()Get a numeric seed value for the query request.java.util.TimeZonegetTimeZone()Get theTimeZonefor 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 theLocalefor the query request.May be
nullif query did not specify locale.
-
getTimeZone
java.util.TimeZone getTimeZone()
Get theTimeZonefor the query request.May be
nullif 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.
-
-