Record Class SnapshotUtils.DataColumnCopy
java.lang.Object
java.lang.Record
io.deephaven.engine.table.impl.snapshot.SnapshotUtils.DataColumnCopy
- Record Components:
sources- The columns that serve as the source datadestinations- The columns that receive the data, parallel tosources
- Enclosing class:
SnapshotUtils
public static record SnapshotUtils.DataColumnCopy(ChunkSource.WithPrev<? extends Values>[] sources, WritableColumnSource<?>[] destinations)
extends Record
The parallel sources and destinations of a
copy of data columns into result columns. Copying every column together lets sources that share state, such as a
row redirection, share its lookups.-
Constructor Summary
ConstructorsConstructorDescriptionDataColumnCopy(ChunkSource.WithPrev<? extends Values>[] sources, WritableColumnSource<?>[] destinations) Creates an instance of aDataColumnCopyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionWritableColumnSource<?>[]Returns the value of thedestinationsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.ChunkSource.WithPrev<? extends Values>[]sources()Returns the value of thesourcesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DataColumnCopy
public DataColumnCopy(ChunkSource.WithPrev<? extends Values>[] sources, WritableColumnSource<?>[] destinations) Creates an instance of aDataColumnCopyrecord class.- Parameters:
sources- the value for thesourcesrecord componentdestinations- the value for thedestinationsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
sources
Returns the value of thesourcesrecord component.- Returns:
- the value of the
sourcesrecord component
-
destinations
Returns the value of thedestinationsrecord component.- Returns:
- the value of the
destinationsrecord component
-