Class ZonedDateTimeArraySource
java.lang.Object
io.deephaven.engine.table.impl.AbstractColumnSource<TIME_TYPE>
io.deephaven.engine.table.impl.sources.NanosBasedTimeArraySource<ZonedDateTime>
io.deephaven.engine.table.impl.sources.ZonedDateTimeArraySource
- All Implemented Interfaces:
ChunkSink<Values>
,ChunkSource<Values>
,ChunkSource.WithPrev<Values>
,ColumnSource<ZonedDateTime>
,ElementSource<ZonedDateTime>
,FillContextMaker
,GetContextMaker
,ColumnSourceGetDefaults.ForObject<ZonedDateTime>
,DefaultChunkSource<Values>
,DefaultChunkSource.WithPrev<Values>
,MutableColumnSource<ZonedDateTime>
,MutableColumnSourceGetDefaults.ForObject<ZonedDateTime>
,ConvertibleTimeSource
,ConvertibleTimeSource.Zoned
,FillUnordered<Values>
,InMemoryColumnSource
,Releasable
,TupleExporter<ZonedDateTime>
,TupleSource<ZonedDateTime>
,WritableColumnSource<ZonedDateTime>
,WritableSourceWithPrepareForParallelPopulation
public class ZonedDateTimeArraySource
extends NanosBasedTimeArraySource<ZonedDateTime>
implements MutableColumnSourceGetDefaults.ForObject<ZonedDateTime>, ConvertibleTimeSource.Zoned
Array-backed ColumnSource for
ZonedDateTime
s. Allows reinterpretation as long.-
Nested Class Summary
Nested classes/interfaces inherited from class io.deephaven.engine.table.impl.AbstractColumnSource
AbstractColumnSource.DefaultedImmutable<DATA_TYPE>, AbstractColumnSource.DefaultedMutable<DATA_TYPE>
Nested classes/interfaces inherited from interface io.deephaven.engine.table.ChunkSink
ChunkSink.FillFromContext
Nested classes/interfaces inherited from interface io.deephaven.engine.table.ChunkSource
ChunkSource.FillContext, ChunkSource.GetContext, ChunkSource.WithPrev<ATTR extends Any>
Nested classes/interfaces inherited from interface io.deephaven.engine.table.impl.sources.ConvertibleTimeSource
ConvertibleTimeSource.Zoned
Nested classes/interfaces inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource
DefaultChunkSource.SupportsContiguousGet<ATTR extends Any>, DefaultChunkSource.WithPrev<ATTR extends Any>
Nested classes/interfaces inherited from interface io.deephaven.engine.table.TupleExporter
TupleExporter.ExportElementFunction<TUPLE_TYPE>
Nested classes/interfaces inherited from interface io.deephaven.engine.table.WritableColumnSource
WritableColumnSource.ByteFiller, WritableColumnSource.CharFiller, WritableColumnSource.DoubleFiller, WritableColumnSource.FloatFiller, WritableColumnSource.IntFiller, WritableColumnSource.LongFiller, WritableColumnSource.ObjectFiller, WritableColumnSource.ShortFiller, WritableColumnSource.SinkFiller
-
Field Summary
Fields inherited from class io.deephaven.engine.table.impl.sources.NanosBasedTimeArraySource
nanoSource
Fields inherited from class io.deephaven.engine.table.impl.AbstractColumnSource
componentType, type, updateGraph, USE_RANGES_AVERAGE_RUN_LENGTH
Fields inherited from interface io.deephaven.engine.table.ChunkSink
DEFAULT_FILL_FROM_INSTANCE
Fields inherited from interface io.deephaven.engine.table.ChunkSource
DEFAULT_FILL_INSTANCE, ZERO_LENGTH_CHUNK_SOURCE_ARRAY
Fields inherited from interface io.deephaven.engine.table.ChunkSource.WithPrev
ZERO_LENGTH_CHUNK_SOURCE_WITH_PREV_ARRAY
Fields inherited from interface io.deephaven.engine.table.ColumnSource
ZERO_LENGTH_COLUMN_SOURCE_ARRAY
Fields inherited from interface io.deephaven.engine.table.impl.sources.InMemoryColumnSource
TWO_DIMENSIONAL_COLUMN_SOURCE_THRESHOLD
-
Constructor Summary
ConstructorDescriptionZonedDateTimeArraySource
(@NotNull String zone) ZonedDateTimeArraySource
(@NotNull ZoneId zone) ZonedDateTimeArraySource
(@NotNull ZoneId zone, @NotNull LongArraySource nanoSource) -
Method Summary
Modifier and TypeMethodDescriptiongetZone()
protected ZonedDateTime
makeValue
(long nanos) protected long
toNanos
(ZonedDateTime value) toZonedDateTime
(@NotNull ZoneId zone) Convert this source to aZonedDateTime
source at the specifiedzone
.Methods inherited from class io.deephaven.engine.table.impl.sources.NanosBasedTimeArraySource
allowsReinterpret, doReinterpret, ensureCapacity, fillChunk, fillChunkUnordered, fillFromChunk, fillFromChunkUnordered, fillPrevChunk, fillPrevChunkUnordered, get, getAndSetUnsafe, getLong, getPrev, getPrevLong, makeFillContext, makeFillFromContext, prepareForParallelPopulation, providesFillUnordered, set, set, setNull, startTrackingPrevValues, supportsTimeConversion, toEpochNano, toInstant, toLocalDate, toLocalTime
Methods inherited from class io.deephaven.engine.table.impl.AbstractColumnSource
defaultFillChunk, defaultFillPrevChunk, getComponentType, getPrevSource, getType, match, reinterpret
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.engine.table.ChunkSource
fillChunk
Methods inherited from interface io.deephaven.engine.table.ChunkSource.WithPrev
fillPrevChunk
Methods inherited from interface io.deephaven.engine.table.ColumnSource
allowsReinterpret, cast, cast, cast, cast, createPreviousTuple, createTuple, createTupleFromValues, exportAllTo, exportElement, exportElement, getChunkType, getComponentType, getPrevSource, getType, isStateless, match, reinterpret, releaseCachedResources, startTrackingPrevValues, tupleLength
Methods inherited from interface io.deephaven.engine.table.impl.ColumnSourceGetDefaults.ForObject
getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getShort
Methods inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource
getChunk, getChunk, getChunkByFilling, makeGetContext
Methods inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource.WithPrev
getPrevChunk, getPrevChunk, getPrevChunkByFilling
Methods inherited from interface io.deephaven.engine.table.ElementSource
get, getPrev
Methods inherited from interface io.deephaven.engine.table.FillContextMaker
makeFillContext
Methods inherited from interface io.deephaven.engine.table.GetContextMaker
makeGetContext
Methods inherited from interface io.deephaven.engine.table.impl.sources.InMemoryColumnSource
isInMemory
Methods inherited from interface io.deephaven.engine.table.impl.MutableColumnSource
isImmutable
Methods inherited from interface io.deephaven.engine.table.impl.MutableColumnSourceGetDefaults.ForObject
getPrevBoolean, getPrevByte, getPrevChar, getPrevDouble, getPrevFloat, getPrevInt, getPrevLong, getPrevShort
Methods inherited from interface io.deephaven.engine.table.TupleExporter
exportAllReinterpretedTo, exportAllReinterpretedTo, exportAllTo, exportElementReinterpreted
Methods inherited from interface io.deephaven.engine.table.TupleSource
createTupleFromReinterpretedValues
Methods inherited from interface io.deephaven.engine.table.WritableColumnSource
ensureCapacity, set, set, set, set, set, set, setNull
-
Constructor Details
-
ZonedDateTimeArraySource
-
ZonedDateTimeArraySource
-
ZonedDateTimeArraySource
public ZonedDateTimeArraySource(@NotNull @NotNull ZoneId zone, @NotNull @NotNull LongArraySource nanoSource)
-
-
Method Details
-
makeValue
- Specified by:
makeValue
in classNanosBasedTimeArraySource<ZonedDateTime>
-
toNanos
- Specified by:
toNanos
in classNanosBasedTimeArraySource<ZonedDateTime>
-
toZonedDateTime
Description copied from interface:ConvertibleTimeSource
Convert this source to aZonedDateTime
source at the specifiedzone
.- Specified by:
toZonedDateTime
in interfaceConvertibleTimeSource
- Overrides:
toZonedDateTime
in classNanosBasedTimeArraySource<ZonedDateTime>
- Parameters:
zone
- the time zone- Returns:
- a view of this source as a
ZonedDateTime
-
getZone
- Specified by:
getZone
in interfaceConvertibleTimeSource.Zoned
-