com
.
geirsson
.
codegen
Codegen
Related Docs:
object Codegen
|
package codegen
case class
Codegen
(
options:
CodegenOptions
,
namingStrategy:
NamingStrategy
)
extends
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
Codegen
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
Codegen
(
options:
CodegenOptions
,
namingStrategy:
NamingStrategy
)
Type Members
case class
Column
(
tableName:
String
,
columnName:
String
,
type:
String
,
nullable:
Boolean
,
isPrimaryKey:
Boolean
,
references:
Option
[
SimpleColumn
]
)
extends
Product
with
Serializable
case class
ForeignKey
(
from:
SimpleColumn
,
to:
SimpleColumn
)
extends
Product
with
Serializable
case class
SimpleColumn
(
tableName:
String
,
columnName:
String
)
extends
Product
with
Serializable
case class
Table
(
name:
String
,
columns:
Seq
[
Column
]
)
extends
Product
with
Serializable
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
columnType2scalaType
:
Map
[
String
,
String
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
val
excludedTables
:
Set
[
String
]
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getColumns
(
db:
Connection
,
tableName:
String
,
foreignKeys:
Set
[
ForeignKey
]
)
:
Seq
[
Column
]
def
getForeignKeys
(
db:
Connection
)
:
Set
[
ForeignKey
]
def
getPrimaryKeys
(
db:
Connection
,
tableName:
String
)
:
Set
[
String
]
def
getTables
(
db:
Connection
,
foreignKeys:
Set
[
ForeignKey
]
)
:
Seq
[
Table
]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
namingStrategy
:
NamingStrategy
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
options
:
CodegenOptions
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
tables2code
(
tables:
Seq
[
Table
]
,
namingStrategy:
NamingStrategy
,
options:
CodegenOptions
)
:
String
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyRef
Inherited from
Any
Ungrouped