object ParquetCellConverter
- Alphabetic
- By Inheritance
- ParquetCellConverter
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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(classOf[java.lang.CloneNotSupportedException]) @native()
- def convertByClass(group: SimpleGroup, columnName: String, clazz: Class[_]): Try[Any]
Dispatch to the correct converter by Class[_] directly.
- def convertField(group: SimpleGroup, columnName: String, field: Field): Try[Any]
Dispatch to the correct converter based on the field's runtime type.
Dispatch to the correct converter based on the field's runtime type. Used by ParquetRowParser for non-optional primitive fields.
- def convertOption(group: SimpleGroup, columnName: String, parquetType: PrimitiveType): Try[Any]
Handle OPTIONAL columns via the legacy PrimitiveType path.
Handle OPTIONAL columns via the legacy PrimitiveType path. Used by StandardParquetRowParser for flat (non-grouped) Option fields.
- def converter2[P1, P2, T <: Product](construct: (P1, P2) => T, fields: Seq[String] = Nil)(implicit arg0: ParquetCellConverter[P1], arg1: ParquetCellConverter[P2], arg2: ClassTag[T], arg3: ColumnHelper[T]): ParquetCellConverter[T]
Method to return a ParquetCellConverter[T] where T is a 2-ary Product, reading its fields from the same flat SimpleGroup by name via ColumnHelper[T].
Method to return a ParquetCellConverter[T] where T is a 2-ary Product, reading its fields from the same flat SimpleGroup by name via ColumnHelper[T].
- P1
the type of the first field of the Product type T.
- P2
the type of the second field of the Product type T.
- T
the target case class type.
- construct
a function (P1, P2) => T, usually the apply method of a case class.
- fields
optional explicit field names; if Nil, field names are obtained by reflection.
- returns
a ParquetCellConverter[T].
- def converter3[P1, P2, P3, T <: Product](construct: (P1, P2, P3) => T, fields: Seq[String] = Nil)(implicit arg0: ParquetCellConverter[P1], arg1: ParquetCellConverter[P2], arg2: ParquetCellConverter[P3], arg3: ClassTag[T], arg4: ColumnHelper[T]): ParquetCellConverter[T]
Method to return a ParquetCellConverter[T] where T is a 3-ary Product.
Method to return a ParquetCellConverter[T] where T is a 3-ary Product.
- P1
the type of the first field of the Product type T.
- P2
the type of the second field of the Product type T.
- P3
the type of the third field of the Product type T.
- T
the target case class type.
- construct
a function (P1, P2, P3) => T, usually the apply method of a case class.
- fields
optional explicit field names; if Nil, field names are obtained by reflection.
- returns
a ParquetCellConverter[T].
- def converter4[P1, P2, P3, P4, T <: Product](construct: (P1, P2, P3, P4) => T, fields: Seq[String] = Nil)(implicit arg0: ParquetCellConverter[P1], arg1: ParquetCellConverter[P2], arg2: ParquetCellConverter[P3], arg3: ParquetCellConverter[P4], arg4: ClassTag[T], arg5: ColumnHelper[T]): ParquetCellConverter[T]
Method to return a ParquetCellConverter[T] where T is a 4-ary Product.
Method to return a ParquetCellConverter[T] where T is a 4-ary Product.
- P1
the type of the first field of the Product type T.
- P2
the type of the second field of the Product type T.
- P3
the type of the third field of the Product type T.
- P4
the type of the fourth field of the Product type T.
- T
the target case class type.
- construct
a function (P1, P2, P3, P4) => T, usually the apply method of a case class.
- fields
optional explicit field names; if Nil, field names are obtained by reflection.
- returns
a ParquetCellConverter[T].
- def converter5[P1, P2, P3, P4, P5, T <: Product](construct: (P1, P2, P3, P4, P5) => T, fields: Seq[String] = Nil)(implicit arg0: ParquetCellConverter[P1], arg1: ParquetCellConverter[P2], arg2: ParquetCellConverter[P3], arg3: ParquetCellConverter[P4], arg4: ParquetCellConverter[P5], arg5: ClassTag[T], arg6: ColumnHelper[T]): ParquetCellConverter[T]
Method to return a ParquetCellConverter[T] where T is a 5-ary Product.
Method to return a ParquetCellConverter[T] where T is a 5-ary Product.
- P1
the type of the first field of the Product type T.
- P2
the type of the second field of the Product type T.
- P3
the type of the third field of the Product type T.
- P4
the type of the fourth field of the Product type T.
- P5
the type of the fifth field of the Product type T.
- T
the target case class type.
- construct
a function (P1, P2, P3, P4, P5) => T, usually the apply method of a case class.
- fields
optional explicit field names; if Nil, field names are obtained by reflection.
- returns
a ParquetCellConverter[T].
- def converter6[P1, P2, P3, P4, P5, P6, T <: Product](construct: (P1, P2, P3, P4, P5, P6) => T, fields: Seq[String] = Nil)(implicit arg0: ParquetCellConverter[P1], arg1: ParquetCellConverter[P2], arg2: ParquetCellConverter[P3], arg3: ParquetCellConverter[P4], arg4: ParquetCellConverter[P5], arg5: ParquetCellConverter[P6], arg6: ClassTag[T], arg7: ColumnHelper[T]): ParquetCellConverter[T]
Method to return a ParquetCellConverter[T] where T is a 6-ary Product.
Method to return a ParquetCellConverter[T] where T is a 6-ary Product.
- P1
the type of the first field of the Product type T.
- P2
the type of the second field of the Product type T.
- P3
the type of the third field of the Product type T.
- P4
the type of the fourth field of the Product type T.
- P5
the type of the fifth field of the Product type T.
- P6
the type of the sixth field of the Product type T.
- T
the target case class type.
- construct
a function (P1, P2, P3, P4, P5, P6) => T, usually the apply method of a case class.
- fields
optional explicit field names; if Nil, field names are obtained by reflection.
- returns
a ParquetCellConverter[T].
- def converter7[P1, P2, P3, P4, P5, P6, P7, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7) => T, fields: Seq[String] = Nil)(implicit arg0: ParquetCellConverter[P1], arg1: ParquetCellConverter[P2], arg2: ParquetCellConverter[P3], arg3: ParquetCellConverter[P4], arg4: ParquetCellConverter[P5], arg5: ParquetCellConverter[P6], arg6: ParquetCellConverter[P7], arg7: ClassTag[T], arg8: ColumnHelper[T]): ParquetCellConverter[T]
Method to return a ParquetCellConverter[T] where T is a 7-ary Product.
Method to return a ParquetCellConverter[T] where T is a 7-ary Product.
- P1
the type of the first field of the Product type T.
- P2
the type of the second field of the Product type T.
- P3
the type of the third field of the Product type T.
- P4
the type of the fourth field of the Product type T.
- P5
the type of the fifth field of the Product type T.
- P6
the type of the sixth field of the Product type T.
- P7
the type of the seventh field of the Product type T.
- T
the target case class type.
- construct
a function (P1, P2, P3, P4, P5, P6, P7) => T, usually the apply method of a case class.
- fields
optional explicit field names; if Nil, field names are obtained by reflection.
- returns
a ParquetCellConverter[T].
- def converter8[P1, P2, P3, P4, P5, P6, P7, P8, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8) => T, fields: Seq[String] = Nil)(implicit arg0: ParquetCellConverter[P1], arg1: ParquetCellConverter[P2], arg2: ParquetCellConverter[P3], arg3: ParquetCellConverter[P4], arg4: ParquetCellConverter[P5], arg5: ParquetCellConverter[P6], arg6: ParquetCellConverter[P7], arg7: ParquetCellConverter[P8], arg8: ClassTag[T], arg9: ColumnHelper[T]): ParquetCellConverter[T]
Method to return a ParquetCellConverter[T] where T is an 8-ary Product.
Method to return a ParquetCellConverter[T] where T is an 8-ary Product.
- P1
the type of the first field of the Product type T.
- P2
the type of the second field of the Product type T.
- P3
the type of the third field of the Product type T.
- P4
the type of the fourth field of the Product type T.
- P5
the type of the fifth field of the Product type T.
- P6
the type of the sixth field of the Product type T.
- P7
the type of the seventh field of the Product type T.
- P8
the type of the eighth field of the Product type T.
- T
the target case class type.
- construct
a function (P1, P2, P3, P4, P5, P6, P7, P8) => T, usually the apply method of a case class.
- fields
optional explicit field names; if Nil, field names are obtained by reflection.
- returns
a ParquetCellConverter[T].
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- implicit def optionConverter[T](implicit arg0: ParquetCellConverter[T]): ParquetCellConverter[Option[T]]
Converter for Option[T] fields.
Converter for Option[T] fields. Returns None if the field has no value in this row, Some(value) otherwise.
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- implicit object BigDecimalConverter extends ParquetCellConverter[BigDecimal]
- implicit object BooleanConverter extends ParquetCellConverter[Boolean]
- implicit object DoubleConverter extends ParquetCellConverter[Double]
- implicit object FloatConverter extends ParquetCellConverter[Float]
- implicit object InstantConverter extends ParquetCellConverter[Instant]
- implicit object IntConverter extends ParquetCellConverter[Int]
- implicit object LocalDateConverter extends ParquetCellConverter[LocalDate]
- implicit object LongConverter extends ParquetCellConverter[Long]
- implicit object StringConverter extends ParquetCellConverter[String]
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)