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 forFieldExpressions
applied 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 TimeResolution
UserDefinedFieldDef. DEFAULT_DATE_RESOLUTION
Methods in com.attivio.sdk.schema that return TimeResolution Modifier and Type Method Description TimeResolution
UserDefinedFieldDef. getDateResolution()
Get the resolution forSchemaField.Type.DATE
type.Methods in com.attivio.sdk.schema with parameters of type TimeResolution Modifier and Type Method Description void
UserDefinedFieldDef. setDateResolution(TimeResolution value)
Set the resolution forSchemaField.Type.DATE
type. -
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 TimeResolution
Freshness. DEFAULT_CENTER_RESOLUTION
The default center resolution.static TimeResolution
FreshnessRange. DEFAULT_RESOLUTION
Default time resolution for this range.Methods in com.attivio.sdk.search.fields that return TimeResolution Modifier and Type Method Description TimeResolution
Freshness. getCenterResolution()
Get the resolution for rounding the center date.TimeResolution
Cast. getDateResolution()
Get the time resolution for date type.TimeResolution
FreshnessRange. 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 void
Freshness. addRange(long maxDelta, TimeResolution timeUnit, double a, double b, double c)
Add a range to the freshness table.void
Freshness. setCenterResolution(TimeResolution units)
Set the resolution for rounding the center date.void
Cast. setDateResolution(TimeResolution value)
Set the time resolution for date type.void
FreshnessRange. 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, castingexpression
totype
.Cast(FieldExpression expression, TimeResolution resolution)
Construct a new Cast, castingexpression
totype
.Cast(java.lang.String fieldName, TimeResolution resolution)
Construct a new Cast, castingfieldName
totype
.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 TimeResolution
TimeResolution. parseTimeResolution(java.lang.String value)
Parsevalue
as a TimeResolution value.static TimeResolution
TimeResolution. 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.Date
DateUtils. ceil(TimeResolution units, java.util.Date value)
Roundvalue
up to the nextunits
.
-