final case class TempField(name: String, schema: Schema, doc: String, defaultValue: Any) extends Product with Serializable
The Avro fields are final. We use this case class to carry information and do modifications before instantiating the final Avro field in a schema
- Alphabetic
- By Inheritance
- TempField
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TempField(name: String, schema: Schema, doc: String, defaultValue: Any)
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val defaultValue: Any
- val doc: String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
flatten: Either[NonNullableUnionTypeError, List[TempField]]
Returns the flat version of a field.
Returns the flat version of a field. The name of field is constructed from the
nameand the schema of the field. If it is a primitive type, then the final name is equal toname. But if it is a nested record, then the final name is concatenation ofnamewith child field name separated by_character. If the field is an array (or contains a nested array), it returns the schema of the items after flattening themIn case of UNION, we only support nullable types i.e. when it is the union of NULL and one other type. Any other combination will cause
NonNullableUnionTypeError -
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val schema: Schema
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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( ... ) @native()