Class TileDBSQL

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class TileDBSQL
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      java.util.List<java.lang.Object> exec()
      Exec an SQL query and get results in any format except arrow.
      Pair<java.util.ArrayList<org.apache.arrow.vector.ValueVector>,​java.lang.Integer> execArrow()
      Exec an SQL query and get results in arrow format.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TileDBSQL

        public TileDBSQL​(TileDBClient tileDBClient,
                         java.lang.String namespace,
                         SQLParameters sql)
        Parameters:
        tileDBClient - The TileDBClient
        namespace - namespace to run task under is in (an organization name or user's username)
        sql - sql being submitted
    • Method Detail

      • execArrow

        public Pair<java.util.ArrayList<org.apache.arrow.vector.ValueVector>,​java.lang.Integer> execArrow()
        Exec an SQL query and get results in arrow format.
        Returns:
        A pair that consists of an ArrayList of all valueVectors and the number of batches read.
      • exec

        public java.util.List<java.lang.Object> exec()
        Exec an SQL query and get results in any format except arrow.
        Returns:
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable