case class ShredModelEntry(ptr: SchemaPointer, subSchema: Schema, isLateAddition: Boolean) extends Product with Serializable
Single bottom level entry of the schema model. Each entry matches a single column in warehouse.
- ptr
- json pointer. A cursor that could be used to extract the data from json event.
- subSchema
- jsonschema of the element to where pointer is directed.
- isLateAddition
- entry added as a result of migration, so it must be NOT NULL.
- Alphabetic
- By Inheritance
- ShredModelEntry
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ShredModelEntry(ptr: SchemaPointer, subSchema: Schema, isLateAddition: Boolean)
- ptr
- json pointer. A cursor that could be used to extract the data from json event.
- subSchema
- jsonschema of the element to where pointer is directed.
- isLateAddition
- entry added as a result of migration, so it must be NOT NULL.
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()
-
lazy val
columnName: String
columnName, nullability, columnType and compressionEncoding are used for SQL statement definition of corresponding redshift column.
- lazy val columnType: ColumnType
- lazy val compressionEncoding: CompressionEncoding
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isLateAddition: Boolean
- lazy val isNullable: Boolean
-
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 ptr: SchemaPointer
-
def
stringFactory(json: Json): String
Extract the string representation of this entry from the event body.
Extract the string representation of this entry from the event body. Factory relies on the validation done by the enrich. So column type is not validated against the jsonTypes.
- json
body of json event
- returns
Either a casting error (pointer was incompatible with the event) or string serialization of the payload,
- val subSchema: 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()