com
.
sksamuel
.
avro4s
SchemaFor
Related Docs:
trait SchemaFor
|
package avro4s
object
SchemaFor
extends
Serializable
Linear Supertypes
Serializable
,
Serializable
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
SchemaFor
Serializable
Serializable
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
type
Typeclass
[
T
]
=
SchemaFor
[
T
]
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
implicit
val
BooleanSchemaFor
:
SchemaFor
[
Boolean
]
implicit
val
ByteArraySchemaFor
:
SchemaFor
[
Array
[
Byte
]]
implicit
val
ByteBufferSchemaFor
:
SchemaFor
[
ByteBuffer
]
implicit
val
ByteListSchemaFor
:
SchemaFor
[
List
[
Byte
]]
implicit
val
ByteSchemaFor
:
SchemaFor
[
Byte
]
implicit
val
ByteSeqSchemaFor
:
SchemaFor
[
Seq
[
Byte
]]
implicit
val
ByteVectorSchemaFor
:
SchemaFor
[
Vector
[
Byte
]]
implicit
object
DateSchemaFor
extends
SchemaFor
[
Date
]
implicit
val
DoubleSchemaFor
:
SchemaFor
[
Double
]
implicit
val
FloatSchemaFor
:
SchemaFor
[
Float
]
implicit
object
InstantSchemaFor
extends
SchemaFor
[
Instant
]
implicit
val
IntSchemaFor
:
SchemaFor
[
Int
]
implicit
object
LocalDateSchemaFor
extends
SchemaFor
[
LocalDate
]
implicit
object
LocalDateTimeSchemaFor
extends
SchemaFor
[
LocalDateTime
]
implicit
object
LocalTimeSchemaFor
extends
SchemaFor
[
LocalTime
]
implicit
val
LongSchemaFor
:
SchemaFor
[
Long
]
implicit
val
ShortSchemaFor
:
SchemaFor
[
Short
]
implicit
val
StringSchemaFor
:
SchemaFor
[
String
]
implicit
object
TimestampSchemaFor
extends
SchemaFor
[
Timestamp
]
implicit
object
UUIDSchemaFor
extends
SchemaFor
[
UUID
]
def
apply
[
T
]
(
implicit
schemaFor:
SchemaFor
[
T
]
)
:
SchemaFor
[
T
]
implicit
def
arraySchemaFor
[
S
]
(
implicit
schemaFor:
SchemaFor
[
S
]
)
:
SchemaFor
[
Array
[
S
]]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
implicit
def
bigDecimalFor
(
implicit
sp:
ScalePrecision
=
ScalePrecision.default
)
:
SchemaFor
[
BigDecimal
]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
combine
[
T
]
(
ctx:
CaseClass
[
Typeclass
,
T
]
)
:
SchemaFor
[
T
]
def
const
[
T
]
(
_schema:
Schema
)
:
SchemaFor
[
T
]
Creates a
SchemaFor
that always returns the given constant value.
implicit
def
coproductBaseSchema
[
S
]
(
implicit
basefor:
SchemaFor
[
S
]
)
:
SchemaFor
[
:+:
[
S
,
CNil
]]
implicit
def
coproductSchema
[
S
,
T <:
Coproduct
]
(
implicit
basefor:
SchemaFor
[
S
]
,
coproductFor:
SchemaFor
[
T
]
)
:
SchemaFor
[
:+:
[
S
,
T
]]
def
dispatch
[
T
]
(
ctx:
SealedTrait
[
Typeclass
,
T
]
)
:
SchemaFor
[
T
]
implicit
def
eitherSchemaFor
[
A
,
B
]
(
implicit
leftFor:
SchemaFor
[
A
]
,
rightFor:
SchemaFor
[
B
]
)
:
SchemaFor
[
Either
[
A
,
B
]]
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]
)
implicit macro
def
gen
[
T
]
:
Typeclass
[
T
]
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
implicit
def
iterableSchemaFor
[
S
]
(
implicit
schemaFor:
SchemaFor
[
S
]
)
:
SchemaFor
[
Iterable
[
S
]]
implicit
def
javaEnumSchemaFor
[
E <:
Enum
[_]
]
(
implicit
tag:
ClassTag
[
E
]
)
:
SchemaFor
[
E
]
implicit
def
listSchemaFor
[
S
]
(
implicit
schemaFor:
SchemaFor
[
S
]
)
:
SchemaFor
[
List
[
S
]]
implicit
def
mapSchemaFor
[
V
]
(
implicit
schemaFor:
SchemaFor
[
V
]
)
:
SchemaFor
[
Map
[
String
,
V
]]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
implicit
def
optionSchemaFor
[
T
]
(
implicit
schemaFor:
SchemaFor
[
T
]
)
:
SchemaFor
[
Option
[
T
]]
implicit
def
scalaEnumSchemaFor
[
E <:
Value
]
(
implicit
tag:
scala.reflect.api.JavaUniverse.TypeTag
[
E
]
)
:
SchemaFor
[
E
]
implicit
def
seqSchemaFor
[
S
]
(
implicit
schemaFor:
SchemaFor
[
S
]
)
:
SchemaFor
[
Seq
[
S
]]
implicit
def
setSchemaFor
[
S
]
(
implicit
schemaFor:
SchemaFor
[
S
]
)
:
SchemaFor
[
Set
[
S
]]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
implicit
def
tuple2SchemaFor
[
A
,
B
]
(
implicit
a:
SchemaFor
[
A
]
,
b:
SchemaFor
[
B
]
)
:
SchemaFor
[(
A
,
B
)]
implicit
def
tuple3SchemaFor
[
A
,
B
,
C
]
(
implicit
a:
SchemaFor
[
A
]
,
b:
SchemaFor
[
B
]
,
c:
SchemaFor
[
C
]
)
:
SchemaFor
[(
A
,
B
,
C
)]
implicit
def
tuple4SchemaFor
[
A
,
B
,
C
,
D
]
(
implicit
a:
SchemaFor
[
A
]
,
b:
SchemaFor
[
B
]
,
c:
SchemaFor
[
C
]
,
d:
SchemaFor
[
D
]
)
:
SchemaFor
[(
A
,
B
,
C
,
D
)]
implicit
def
tuple5SchemaFor
[
A
,
B
,
C
,
D
,
E
]
(
implicit
a:
SchemaFor
[
A
]
,
b:
SchemaFor
[
B
]
,
c:
SchemaFor
[
C
]
,
d:
SchemaFor
[
D
]
,
e:
SchemaFor
[
E
]
)
:
SchemaFor
[(
A
,
B
,
C
,
D
,
E
)]
implicit
def
vectorSchemaFor
[
S
]
(
implicit
schemaFor:
SchemaFor
[
S
]
)
:
SchemaFor
[
Vector
[
S
]]
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
AnyRef
Inherited from
Any
Ungrouped