Relation

org.beangle.data.jdbc.meta.Relation
abstract class Relation(var schema: Schema, var name: Identifier) extends Ordered[Relation], Comment, Cloneable

Attributes

Graph
Supertypes
trait Cloneable
trait Comment
trait Ordered[Relation]
trait Comparable[Relation]
class Object
trait Matchable
class Any
Show all
Known subtypes
class Table
class View

Members list

Value members

Abstract methods

def clone(newschema: Schema): Relation

Concrete methods

def add(column: Column): Column
def add(cols: Column*): Unit
def attach(engine: Engine): Relation.this.type
def column(columnName: String): Column
def columnExits(columnName: Identifier): Boolean
def commentAndModule: Option[String]
override def compare(o: Relation): Int

Attributes

Definition Classes
Ordered
def createColumn(name: String, sqlType: SqlType): Column
def createColumn(name: String, typeName: String): Column
def engine: Engine
def getColumn(columnName: String): Option[Column]
def hasQuotedIdentifier: Boolean
def qualifiedName: String
def quotedColumnNames: List[String]
def remove(column: Column): Unit
def rename(column: Column, newName: Identifier): Unit
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
def updateCommentAndModule(newComment: String): Unit
def updateSchema(newSchema: Schema): Unit

Inherited methods

def <(that: Relation): Boolean

Attributes

Inherited from:
Ordered
def <=(that: Relation): Boolean

Attributes

Inherited from:
Ordered
def >(that: Relation): Boolean

Attributes

Inherited from:
Ordered
def >=(that: Relation): Boolean

Attributes

Inherited from:
Ordered
def compareTo(that: Relation): Int

Attributes

Inherited from:
Ordered

Concrete fields

val columns: ListBuffer[Column]
var module: Option[String]
var schema: Schema

Inherited fields

var comment: Option[String]

Attributes

Inherited from:
Comment