Uses of Class
com.attivio.sdk.util.TimeResolution
-
Packages that use TimeResolution Package Description com.attivio.sdk.schema Models data from fields and describes how each field should be handled by the Attivio engine.com.attivio.sdk.search.fields Model forFieldExpressionsapplied toQueryRequests.com.attivio.sdk.util com.attivio.util Contains utility classes and methods used across the Attivio code base. -
-
Uses of TimeResolution in com.attivio.sdk.schema
Fields in com.attivio.sdk.schema declared as TimeResolution Modifier and Type Field Description static TimeResolutionUserDefinedFieldDef. DEFAULT_DATE_RESOLUTIONMethods in com.attivio.sdk.schema that return TimeResolution Modifier and Type Method Description TimeResolutionUserDefinedFieldDef. getDateResolution()Get the resolution forSchemaField.Type.DATEtype.Methods in com.attivio.sdk.schema with parameters of type TimeResolution Modifier and Type Method Description voidUserDefinedFieldDef. setDateResolution(TimeResolution value)Set the resolution forSchemaField.Type.DATEtype. -
Uses of TimeResolution in com.attivio.sdk.search.fields
Fields in com.attivio.sdk.search.fields declared as TimeResolution Modifier and Type Field Description static TimeResolutionFreshness. DEFAULT_CENTER_RESOLUTIONThe default center resolution.static TimeResolutionFreshnessRange. DEFAULT_RESOLUTIONDefault time resolution for this range.Methods in com.attivio.sdk.search.fields that return TimeResolution Modifier and Type Method Description TimeResolutionFreshness. getCenterResolution()Get the resolution for rounding the center date.TimeResolutionCast. getDateResolution()Get the time resolution for date type.TimeResolutionFreshnessRange. getResolution()Gets the TimeUnit of the start & end deltasMethods in com.attivio.sdk.search.fields with parameters of type TimeResolution Modifier and Type Method Description voidFreshness. addRange(long maxDelta, TimeResolution timeUnit, double a, double b, double c)Add a range to the freshness table.voidFreshness. setCenterResolution(TimeResolution units)Set the resolution for rounding the center date.voidCast. setDateResolution(TimeResolution value)Set the time resolution for date type.voidFreshnessRange. setResolution(TimeResolution value)Sets the time resolution of the start & end deltasConstructors in com.attivio.sdk.search.fields with parameters of type TimeResolution Constructor Description Cast(FieldExpression expression, SchemaField.Type type, TimeResolution resolution)Construct a new Cast, castingexpressiontotype.Cast(FieldExpression expression, TimeResolution resolution)Construct a new Cast, castingexpressiontotype.Cast(java.lang.String fieldName, TimeResolution resolution)Construct a new Cast, castingfieldNametotype.FreshnessRange(long maxAge, TimeResolution timeUnit, double a, double b, double c) -
Uses of TimeResolution in com.attivio.sdk.util
Methods in com.attivio.sdk.util that return TimeResolution Modifier and Type Method Description TimeResolutionTimeResolution. parseTimeResolution(java.lang.String value)Parsevalueas a TimeResolution value.static TimeResolutionTimeResolution. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TimeResolution[]TimeResolution. values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of TimeResolution in com.attivio.util
Methods in com.attivio.util with parameters of type TimeResolution Modifier and Type Method Description static java.util.DateDateUtils. ceil(TimeResolution units, java.util.Date value)Roundvalueup to the nextunits.
-