com.neeve.rog.log
Interface RogLogQueryEngine.RogLogField<T>
- All Superinterfaces:
- com.google.common.base.Function<RogLog.Entry,T>, IdxField<RogLog.Entry,T>, Serializable
- Enclosing interface:
- RogLogQueryEngine
public static interface RogLogQueryEngine.RogLogField<T>
- extends IdxField<RogLog.Entry,T>
Defines an IdxField
for a RogLogQueryEngine
Methods inherited from interface com.neeve.query.index.IdxField |
average, between, convertToFieldType, count, equal, getCost, getFieldPath, getFieldType, getIndexKeyType, getKeyMapping, getName, getRecordType, getTypePredicate, greaterThan, greaterThanOrEqual, in, in, is, isNotNull, isNull, isQualified, lessThan, lessThanOrEqual, like, max, min, regexLike, setKeyMapping, sumDouble, sumLong, validateIndexable |
Methods inherited from interface com.google.common.base.Function |
apply, equals |
getObjectType
Class<?> getObjectType()
- Gets the type of the object in the entry.
- Returns:
- The entry object type.
getCanonicalName
String getCanonicalName()
- A
RogLogQueryEngine.RogLogField
's canonical name is computed as follows:
Entry field
For a field directly on the RogLog.Entry
itself, the canonical field name
is simply "entry."
Metadata Field
For a metadata field the, the canonical field name
is simply "metadata."
Qualified Entity Fields
For a field on the RogLog.Entry
's object the field name is calculated
as /. where
- objectPackageName: the package name with '.' replaced with '/'
- EntityClassName: the result of
Class.getCanonicalName()
after the package name
- fieldPath: the field path
Unqualified Entity Fields
An unqualified entity field is represented as object.
- Specified by:
getCanonicalName
in interface IdxField<RogLog.Entry,T>
- Returns:
- The canonical name of the field.
registerPayloadType
void registerPayloadType(Class<?> type)
getPayloadTypes
Set<Class<?>> getPayloadTypes()
Copyright © 2016 Neeve Research, LLC. All Rights Reserved.