InMemoryCatalog

wvlet.airframe.sql.catalog.InMemoryCatalog
class InMemoryCatalog(val catalogName: String, val namespace: Option[String], functions: Seq[SQLFunction]) extends Catalog

Attributes

Graph
Supertypes
trait Catalog
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def createDatabase(newDatabase: Database, createMode: CreateMode): Unit

Attributes

Definition Classes
override def createTable(table: Table, createMode: CreateMode): Unit

Attributes

Definition Classes
override def databaseExists(database: String): Boolean

Attributes

Definition Classes
override def findTable(database: String, table: String): Option[Table]

Attributes

Definition Classes
override def getDatabase(database: String): Database

Attributes

Definition Classes
override def getTable(database: String, table: String): Table

Attributes

Definition Classes
override def listDatabases: Seq[String]

Attributes

Definition Classes
override def listFunctions: Seq[SQLFunction]

Attributes

Definition Classes
override def listTables(database: String): Seq[String]

Attributes

Definition Classes
override def tableExists(database: String, table: String): Boolean

Attributes

Definition Classes
override def updateDatabaseProperties(database: String, properties: Map[String, Any]): Unit

Attributes

Definition Classes
override def updateTableProperties(database: String, table: String, properties: Map[String, Any]): Unit

Attributes

Definition Classes
override def updateTableSchema(database: String, table: String, schema: TableSchema): Unit

Attributes

Definition Classes

Inherited methods

inline protected def debug(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def debug(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
def findFromQName(contextDatabase: String, qname: QName): Option[Table]

Attributes

Inherited from:
Catalog
inline protected def info(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def logAt(inline logLevel: LogLevel, inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods

Concrete fields

val catalogName: String
val namespace: Option[String]