Package com.kuzudb

Class FlatTuple

java.lang.Object
com.kuzudb.FlatTuple
All Implemented Interfaces:
AutoCloseable

public class FlatTuple extends Object implements AutoCloseable
FlatTuple stores a vector of values.
  • Constructor Details

    • FlatTuple

      public FlatTuple()
  • Method Details

    • close

      public void close() throws ObjectRefDestroyedException
      Close the flat tuple and release the underlying resources. This method is invoked automatically on objects managed by the try-with-resources statement.
      Specified by:
      close in interface AutoCloseable
      Throws:
      ObjectRefDestroyedException - If the flat tuple has been destroyed.
    • getValue

      public Value getValue(long index) throws ObjectRefDestroyedException
      Get the value at the given index.
      Parameters:
      index - : The index of the value.
      Returns:
      The value at the given index.
      Throws:
      ObjectRefDestroyedException - If the flat tuple has been destroyed.
    • toString

      public String toString()
      Convert the flat tuple to string.
      Overrides:
      toString in class Object
      Returns:
      The string representation of the flat tuple.