Class/Object

com.actian.spark_vector.vector

VectorJDBC

Related Docs: object VectorJDBC | package vector

Permalink

class VectorJDBC extends Logging

Encapsulate functions for accessing Vector using JDBC

Linear Supertypes
Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VectorJDBC
  2. Logging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VectorJDBC(cxnProps: VectorConnectionProperties)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def autoCommit(value: Boolean): Unit

    Permalink

    Set auto-commit to ON/OFF for this JDBC connection

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def close(): Unit

    Permalink

    Close the Vector JDBC connection

  8. def columnMetadata(tableName: String, cols: Seq[String] = Nil): Seq[ColumnMetadata]

    Permalink

    Retrieve the ColumnMetadatas for table tableName as a sequence containing as many elements as there are columns in the table.

    Retrieve the ColumnMetadatas for table tableName as a sequence containing as many elements as there are columns in the table. Each element contains the name, type, nullability, precision and scale of its corresponding column in tableName

    cols

    If not empty, contains the columns for which the metadata needs to be retrieved (if empty, all columns have their metadata retrieved)

  9. def commit(): Unit

    Permalink

    Commit the last transaction

  10. def dropTable(tableName: String): Unit

    Permalink

    Drop the Vector table tableName if it exists

  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def executePreparedQuery[T](sql: String, params: Seq[Any])(op: (ResultSet) ⇒ T): T

    Permalink

    Execute a prepared SQL query closing resources on failures, using scala-arm's resource package, mapping the ResultSet to a new type as specified by op

  14. def executePreparedStatement(sql: String, params: Seq[Any]): Int

    Permalink

    Execute the update prepared SQL query specified by sql

  15. def executeQuery[T](sql: String)(op: (ResultSet) ⇒ T): T

    Permalink

    Execute a SQL query closing resources on failures, using scala-arm's resource package, mapping the ResultSet to a new type as specified by op

  16. def executeStatement(sql: String): Int

    Permalink

    Execute the update SQL query specified by sql

  17. def executeUnmanagedPreparedQuery(sql: String, params: Seq[Any]): (Statement, ResultSet)

    Permalink

    Execute a prepared SQL query, transferring closing responsibility of the Statement and ResultSet to the caller

  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def getIngresHost(): String

    Permalink

    Return the hostname of where the ingres frontend of Vector is located (usually on the leader node)

  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  23. def isClosed(): Boolean

    Permalink

    Check if Vector JDBC connection is closed

  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def isTableEmpty(tableName: String): Boolean

    Permalink

    Return true if the table tableName is empty

  26. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  27. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  28. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  29. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  30. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  31. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  32. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  33. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  34. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  35. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  36. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  37. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  38. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  39. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  40. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  41. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  42. def query(sql: String, params: Seq[Any]): Seq[Seq[Any]]

    Permalink

    Execute a select prepared query on Vector and return the results as a matrix of elements

  43. def query(sql: String): Seq[Seq[Any]]

    Permalink

    Execute a select query on Vector and return the results as a matrix of elements

  44. def querySingleResult[T](sql: String): Option[T]

    Permalink

    Parse the result of a JDBC statement as at most a single value (possibly none)

  45. def rollback(): Unit

    Permalink

    Rollback the last transaction

  46. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  47. def tableExists(tableName: String): Boolean

    Permalink

    Return true if there is a table named tableName in Vector

  48. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  49. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped