@NotThreadSafe
public static final class BatchValuesQuery.Builder
extends Object
Modifier and Type | Method and Description |
---|---|
BatchValuesQuery |
build()
Builds a batch values query.
|
BatchValuesQuery.Builder |
copyFrom(BatchValuesQuery batchValueQuery)
Copies the values from a batch values query.
|
BatchValuesQuery.Builder |
setAfter(DateTime after)
Sets the after time.
|
BatchValuesQuery.Builder |
setAt(DateTime at)
Sets the time for this query.
|
BatchValuesQuery.Builder |
setBefore(DateTime before)
Sets the before time.
|
BatchValuesQuery.Builder |
setExtrapolated(boolean extrapolated)
Sets the extrapolated indicator.
|
BatchValuesQuery.Builder |
setInterpolated(boolean interpolated)
Sets the interpolated indicator.
|
BatchValuesQuery.Builder |
setInterval(TimeInterval.Builder intervalBuilder)
Sets the time interval.
|
BatchValuesQuery.Builder |
setInterval(TimeInterval interval)
Sets the time interval.
|
BatchValuesQuery.Builder |
setNotAfter(DateTime notAfter)
Sets the not after time.
|
BatchValuesQuery.Builder |
setNotBefore(DateTime notBefore)
Sets the not before time.
|
BatchValuesQuery.Builder |
setNotNull(boolean notNull)
Sets the not null indicator.
|
BatchValuesQuery.Builder |
setPoint(Optional<Point> point)
Sets the point.
|
BatchValuesQuery.Builder |
setSync(Optional<Sync> sync)
Sets the sync object.
|
@Nonnull @CheckReturnValue public BatchValuesQuery build()
@Nonnull public BatchValuesQuery.Builder copyFrom(@Nonnull BatchValuesQuery batchValueQuery)
batchValueQuery
- The batch values query.@Nonnull public BatchValuesQuery.Builder setAfter(@Nonnull DateTime after)
after
- The after time.@Nonnull public BatchValuesQuery.Builder setAt(@Nonnull DateTime at)
at
- The time.@Nonnull public BatchValuesQuery.Builder setBefore(@Nonnull DateTime before)
before
- The before time.@Nonnull public BatchValuesQuery.Builder setExtrapolated(boolean extrapolated)
extrapolated
- The extrapolated indicator.@Nonnull public BatchValuesQuery.Builder setInterpolated(boolean interpolated)
interpolated
- The interpolated indicator.@Nonnull public BatchValuesQuery.Builder setInterval(@Nonnull TimeInterval interval)
interval
- The time interval.@Nonnull public BatchValuesQuery.Builder setInterval(@Nonnull TimeInterval.Builder intervalBuilder)
intervalBuilder
- A time interval builder.@Nonnull public BatchValuesQuery.Builder setNotAfter(@Nonnull DateTime notAfter)
notAfter
- The not after time.@Nonnull public BatchValuesQuery.Builder setNotBefore(@Nonnull DateTime notBefore)
notBefore
- The not before time.@Nonnull public final BatchValuesQuery.Builder setNotNull(boolean notNull)
notNull
- The not null indicator.@Nonnull public BatchValuesQuery.Builder setPoint(@Nonnull Optional<Point> point)
point
- An optional point.@Nonnull public BatchValuesQuery.Builder setSync(@Nonnull Optional<Sync> sync)
sync
- The optional sync object.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.