Package org.apache.datafusion
Record Class ColumnarValue.Array
java.lang.Object
java.lang.Record
org.apache.datafusion.ColumnarValue.Array
- All Implemented Interfaces:
ColumnarValue
- Enclosing interface:
- ColumnarValue
public static record ColumnarValue.Array(org.apache.arrow.vector.FieldVector vector)
extends Record
implements ColumnarValue
Per-row Arrow vector of length equal to the batch row count.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.datafusion.ColumnarValue
ColumnarValue.Array, ColumnarValue.Scalar -
Constructor Summary
ConstructorsConstructorDescriptionArray(org.apache.arrow.vector.FieldVector vector) Creates an instance of aArrayrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.org.apache.arrow.vector.FieldVectorvector()Returns the value of thevectorrecord component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.datafusion.ColumnarValue
dataType
-
Constructor Details
-
Array
public Array(org.apache.arrow.vector.FieldVector vector) Creates an instance of aArrayrecord class.- Parameters:
vector- the value for thevectorrecord 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). -
vector
public org.apache.arrow.vector.FieldVector vector()Returns the value of thevectorrecord component.- Specified by:
vectorin interfaceColumnarValue- Returns:
- the value of the
vectorrecord component
-