Record Class OnlineQueryResultFeather

java.lang.Object
java.lang.Record
ai.chalk.internal.request.models.OnlineQueryResultFeather
All Implemented Interfaces:
AutoCloseable

public record OnlineQueryResultFeather(Boolean hasData, org.apache.arrow.vector.table.Table scalarData, Map<String,org.apache.arrow.vector.table.Table> groupsData, ServerError[] errors, QueryMeta meta, org.apache.arrow.memory.BufferAllocator allocator) extends Record implements AutoCloseable
  • Constructor Summary

    Constructors
    Constructor
    Description
    OnlineQueryResultFeather(Boolean hasData, org.apache.arrow.vector.table.Table scalarData, Map<String,org.apache.arrow.vector.table.Table> groupsData, ServerError[] errors, QueryMeta meta, org.apache.arrow.memory.BufferAllocator allocator)
    Creates an instance of a OnlineQueryResultFeather record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.arrow.memory.BufferAllocator
    Returns the value of the allocator record component.
    void
     
    final boolean
    Indicates whether some other object is "equal to" this one.
    Returns the value of the errors record component.
    fromBytes(byte[] bytes, org.apache.arrow.memory.BufferAllocator allocator)
     
    Map<String,org.apache.arrow.vector.table.Table>
    Returns the value of the groupsData record component.
    Returns the value of the hasData record component.
    final int
    Returns a hash code value for this object.
    Returns the value of the meta record component.
    org.apache.arrow.vector.table.Table
    Returns the value of the scalarData record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • OnlineQueryResultFeather

      public OnlineQueryResultFeather(Boolean hasData, org.apache.arrow.vector.table.Table scalarData, Map<String,org.apache.arrow.vector.table.Table> groupsData, ServerError[] errors, QueryMeta meta, org.apache.arrow.memory.BufferAllocator allocator)
      Creates an instance of a OnlineQueryResultFeather record class.
      Parameters:
      hasData - the value for the hasData record component
      scalarData - the value for the scalarData record component
      groupsData - the value for the groupsData record component
      errors - the value for the errors record component
      meta - the value for the meta record component
      allocator - the value for the allocator record component
  • Method Details

    • fromBytes

      public static OnlineQueryResultFeather fromBytes(byte[] bytes, org.apache.arrow.memory.BufferAllocator allocator) throws ChalkException
      Throws:
      ChalkException
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • hasData

      public Boolean hasData()
      Returns the value of the hasData record component.
      Returns:
      the value of the hasData record component
    • scalarData

      public org.apache.arrow.vector.table.Table scalarData()
      Returns the value of the scalarData record component.
      Returns:
      the value of the scalarData record component
    • groupsData

      public Map<String,org.apache.arrow.vector.table.Table> groupsData()
      Returns the value of the groupsData record component.
      Returns:
      the value of the groupsData record component
    • errors

      public ServerError[] errors()
      Returns the value of the errors record component.
      Returns:
      the value of the errors record component
    • meta

      public QueryMeta meta()
      Returns the value of the meta record component.
      Returns:
      the value of the meta record component
    • allocator

      public org.apache.arrow.memory.BufferAllocator allocator()
      Returns the value of the allocator record component.
      Returns:
      the value of the allocator record component