com.opendatagroup.hadrian.data

PFARecord

abstract class PFARecord extends SpecificRecordBase with AnyPFARecord

Abstract superclass for all dynamically generated record classes.

Linear Supertypes
AnyPFARecord, SpecificRecordBase, GenericRecord, Comparable[SpecificRecord], SpecificRecord, IndexedRecord, GenericContainer, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PFARecord
  2. AnyPFARecord
  3. SpecificRecordBase
  4. GenericRecord
  5. Comparable
  6. SpecificRecord
  7. IndexedRecord
  8. GenericContainer
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PFARecord()

Abstract Value Members

  1. abstract def fieldIndex(name: String): Int

    Get numerical field index by field name.

  2. abstract def fieldNames: Array[String]

    Names of fields.

  3. abstract def fieldTypes: Array[Schema]

    Field types, in field order.

  4. abstract def get(field: Int): AnyRef

    Get field value by index number (when direct access via custom Java code is not possible).

    Get field value by index number (when direct access via custom Java code is not possible).

    Definition Classes
    PFARecord → SpecificRecordBase → IndexedRecord
  5. abstract def getAll(): Array[AnyRef]

    Get an array of all fields, in order.

    Get an array of all fields, in order.

    Definition Classes
    AnyPFARecord
  6. abstract def getClassSchema: Schema

    Another access to record schema, needed by Avro.

  7. abstract def getSchema: Schema

    Access to record schema.

    Access to record schema.

    Definition Classes
    AnyPFARecord
  8. abstract def internalUpdate(field: String, value: Any): PFARecord

    Set field value by name (used internally by jvmcompiler only).

  9. abstract def internalUpdate(field: Int, value: Any): PFARecord

    Set field value by index number (used internally by jvmcompiler only).

  10. abstract def multiUpdate(fields: Array[String], values: Array[Any]): PFARecord

    Set multiple fields at once (used by many library functions).

  11. abstract def numFields: Int

    Number of fields.

  12. abstract def put(field: Int, value: Any): Unit

    Set field value by index number (when direct access via custom Java code is not possible).

    Set field value by index number (when direct access via custom Java code is not possible).

    Definition Classes
    PFARecord → SpecificRecordBase → IndexedRecord

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def apply(i: String): AnyRef

    Calls get(i).

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def compareTo(arg0: SpecificRecord): Int

    Definition Classes
    SpecificRecordBase → Comparable
  10. def converted[X](elem: X, schema: Schema): Any

    Helper function to ensure that numerical types are exactly right (int for int, long for long, etc.

    Helper function to ensure that numerical types are exactly right (int for int, long for long, etc.).

    elem

    datum to convert

    schema

    schema to convert it to

    returns

    converted datum (unboxed primitives)

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    SpecificRecordBase → AnyRef → Any
  13. def fieldNameExists(x: String): Boolean

    Return true if a field named x exists; false otherwise.

  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def get(arg0: String): AnyRef

    Definition Classes
    SpecificRecordBase → GenericRecord
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    SpecificRecordBase → AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. def put(arg0: String, arg1: Any): Unit

    Definition Classes
    SpecificRecordBase → GenericRecord
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    SpecificRecordBase → AnyRef → Any
  25. def updated[Y](path: List[PathIndex], updator: (Y) ⇒ Y, schema: Schema): PFARecord

    Returns an updated copy of this record (and its substructures) with a deep element replaced.

    Returns an updated copy of this record (and its substructures) with a deep element replaced.

    path

    coordinates of the deep element to have replaced

    updator

    function that replaces the old value with a new one

    schema

    schema of the subelement

    returns

    new record of the same specific type, leaving the old one untouched

  26. def updated[Y](path: Array[PathIndex], updator: (Y) ⇒ Y, schema: Schema, arrayErrStr: String, arrayErrCode: Int, mapErrStr: String, mapErrCode: Int, fcnName: String, pos: Option[String]): PFARecord

    Returns an updated copy of this record (and its substructures) with a deep element replaced.

    Returns an updated copy of this record (and its substructures) with a deep element replaced.

    path

    coordinates of the deep element to have replaced

    updator

    function that replaces the old value with a new one

    schema

    schema of the subelement

    arrayErrStr

    error message if an array path index is wrong

    arrayErrCode

    error code if an array path index is wrong

    mapErrStr

    error message if a map path index is wrong

    mapErrCode

    error code if a map path index is wrong

    fcnName

    name of the calling PFA function

    pos

    locator mark for the calling PFA function

    returns

    new record of the same specific type, leaving the old one untouched

  27. def updated[Y](path: Array[PathIndex], updator: (Y) ⇒ Y, schema: Schema): PFARecord

    Returns an updated copy of this record (and its substructures) with a deep element replaced.

    Returns an updated copy of this record (and its substructures) with a deep element replaced.

    path

    coordinates of the deep element to have replaced

    updator

    function that replaces the old value with a new one

    schema

    schema of the subelement

    returns

    new record of the same specific type, leaving the old one untouched

  28. def updated(path: Array[PathIndex], elem: AnyRef, schema: Schema, arrayErrStr: String, arrayErrCode: Int, mapErrStr: String, mapErrCode: Int, fcnName: String, pos: Option[String]): PFARecord

    Returns an updated copy of this record (and its substructures) with a deep element replaced.

    Returns an updated copy of this record (and its substructures) with a deep element replaced.

    path

    coordinates of the deep element to have replaced

    elem

    new value for the subelement

    schema

    schema of the subelement

    returns

    new record of the same specific type, leaving the old one untouched

  29. def updated(path: Array[PathIndex], elem: AnyRef, schema: Schema): PFARecord

    Returns an updated copy of this record (and its substructures) with a deep element replaced.

    Returns an updated copy of this record (and its substructures) with a deep element replaced.

    path

    coordinates of the deep element to have replaced

    elem

    new value for the subelement

    schema

    schema of the subelement

    returns

    new record of the same specific type, leaving the old one untouched

  30. def updated(path: List[PathIndex], elem: AnyRef, schema: Schema): PFARecord

    Returns an updated copy of this record (and its substructures) with a deep element replaced.

    Returns an updated copy of this record (and its substructures) with a deep element replaced.

    path

    coordinates of the deep element to have replaced

    elem

    new value for the subelement

    schema

    schema of the subelement

    returns

    new record of the same specific type, leaving the old one untouched

  31. def updated[X](i: String, elem: X, schema: Schema): PFARecord

    Returns an updated copy of this record with one field replaced.

    Returns an updated copy of this record with one field replaced.

    i

    name of field to have replaced

    elem

    new value for field

    schema

    schema of field

    returns

    new record of the same specific type, leaving the old one untouched

  32. def updated[X](i: Int, elem: X, schema: Schema): PFARecord

    Returns an updated copy of this record with one field replaced.

    Returns an updated copy of this record with one field replaced.

    i

    numerical index of field to have replaced

    elem

    new value for field

    schema

    schema of field

    returns

    new record of the same specific type, leaving the old one untouched

  33. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyPFARecord

Inherited from SpecificRecordBase

Inherited from GenericRecord

Inherited from Comparable[SpecificRecord]

Inherited from SpecificRecord

Inherited from IndexedRecord

Inherited from GenericContainer

Inherited from AnyRef

Inherited from Any

Ungrouped