com.spotify.scio.bigquery

BigQueryClient

class BigQueryClient extends AnyRef

A simple BigQuery client.

Self Type
BigQueryClient
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BigQueryClient
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BigQueryClient(projectId: String, secretFile: File)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  10. def extractLocation(sqlQuery: String): Option[String]

    Extract locations of tables to be access by a query.

  11. def extractTables(sqlQuery: String): Set[TableReference]

    Extract tables to be accessed by a query.

  12. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  14. def getQueryRows(sqlQuery: String, flattenResults: Boolean = false): Iterator[TableRow]

    Get rows from a query.

  15. def getQuerySchema(sqlQuery: String): TableSchema

    Get schema for a query without executing it.

  16. def getTable(table: TableReference): Table

    Get table metadata *

  17. def getTable(tableSpec: String): Table

    Get table metadata *

  18. def getTableRows(table: TableReference): Iterator[TableRow]

    Get rows from a table.

  19. def getTableRows(tableSpec: String): Iterator[TableRow]

    Get rows from a table.

  20. def getTableSchema(table: TableReference): TableSchema

    Get schema from a table.

  21. def getTableSchema(tableSpec: String): TableSchema

    Get schema from a table.

  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def query(sqlQuery: String, destinationTable: String = null, flattenResults: Boolean = false): TableReference

    Make a query and save results to a destination table.

    Make a query and save results to a destination table.

    A temporary table will be created if destinationTable is null and a cached table will be returned instead if one exists.

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

    Definition Classes
    AnyRef
  29. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def waitForJobs(jobs: QueryJob*): Unit

    Wait for all jobs to finish.

  34. def writeTableRows(tableSpec: String, rows: List[TableRow], schema: TableSchema = null, writeDisposition: WriteDisposition = WRITE_EMPTY, createDisposition: CreateDisposition = CREATE_IF_NEEDED): Unit

    Write rows to a table.

  35. def writeTableRows(table: TableReference, rows: List[TableRow], schema: TableSchema, writeDisposition: WriteDisposition, createDisposition: CreateDisposition): Unit

    Write rows to a table.

Inherited from AnyRef

Inherited from Any

Ungrouped