com
.
datawizards
.
dmg
.
examples
TestModel
Related Doc:
package examples
object
TestModel
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
TestModel
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
case class
AvroTableWithManyAnnotations
(
time:
Timestamp
,
event:
String
,
user:
String
,
day:
Int
,
year:
Int
,
month:
Int
)
extends
Product
with
Serializable
Annotations
@
table
(
name =
"CUSTOM_TABLE_NAME"
)
@
comment
(
value =
"Table comment"
)
@
hiveRowFormatSerde
(
format =
...
)
@
hiveStoredAs
(
format =
...
)
@
hiveExternalTable
(
location =
"hdfs:///data/table"
)
@
hiveTableProperty
(
key =
"avro.schema.url"
,
value =
"hdfs:///metadata/table.avro"
)
@
hiveTableProperty
(
key =
"key1"
,
value =
"value1"
)
@
hiveTableProperty
(
key =
"key2"
,
value =
"value2"
)
@
hiveTableProperty
(
key =
"key3"
,
value =
"value3"
)
case class
Book
(
title:
String
,
year:
Int
,
owner:
Person
,
authors:
Seq
[
Person
]
)
extends
Product
with
Serializable
case class
CV
(
skills:
Seq
[
String
]
)
extends
Product
with
Serializable
case class
ClassWithAllSimpleTypes
(
strVal:
String
,
intVal:
Int
,
longVal:
Long
,
doubleVal:
Double
,
floatVal:
Float
,
shortVal:
Short
,
booleanVal:
Boolean
,
byteVal:
Byte
,
dateVal:
Date
,
timestampVal:
Timestamp
)
extends
Product
with
Serializable
case class
ParquetTableWithManyAnnotations
(
time:
Timestamp
,
event:
String
,
user:
String
,
day:
Int
,
year:
Int
,
month:
Int
)
extends
Product
with
Serializable
Annotations
@
table
(
name =
"CUSTOM_TABLE_NAME"
)
@
comment
(
value =
"Table comment"
)
@
hiveStoredAs
(
format =
"PARQUET"
)
@
hiveExternalTable
(
location =
"hdfs:///data/table"
)
@
hiveTableProperty
(
key =
"key1"
,
value =
"value1"
)
@
hiveTableProperty
(
key =
"key2"
,
value =
"value2"
)
@
hiveTableProperty
(
key =
"key3"
,
value =
"value3"
)
case class
Person
(
name:
String
,
age:
Int
)
extends
Product
with
Serializable
case class
PersonWithComments
(
name:
String
,
age:
Int
)
extends
Product
with
Serializable
Annotations
@
comment
(
value =
"People data"
)
case class
PersonWithCustomName
(
name:
String
,
age:
Int
,
gender:
String
)
extends
Product
with
Serializable
case class
PersonWithMultipleCustomNames
(
name:
String
,
age:
Int
)
extends
Product
with
Serializable
Annotations
@
table
(
name =
"people"
)
@
table
(
name =
"PEOPLE"
,
dialect =
dialects.H2
)
@
table
(
name =
"person"
,
dialect =
dialects.Elasticsearch
)
case class
PersonWithMultipleEsAnnotations
(
name:
String
,
birthday:
Date
)
extends
Product
with
Serializable
Annotations
@
table
(
name =
"people"
)
@
esTemplate
(
value =
"people*"
)
@
esSetting
(
key =
"number_of_shards"
,
value =
1
)
@
esSetting
(
key =
"number_of_replicas"
,
value =
3
)
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
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
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
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
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
AnyRef
Inherited from
Any
Ungrouped