com.sparkfits.FitsHdu

HDU

trait HDU extends AnyRef

Trait containing generic informations concerning HDU informations. This includes for example number of rows, size of a row, number of columns, types of elements, and methods to access elements.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HDU
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def getColTypes(keyValues: Map[String, String]): List[String]

    Generic method to get the types of column elements from the header information.

    Generic method to get the types of column elements from the header information. Must be implemented for all extensions of HDU.

    keyValues

    : (Map[String, String]) (Key, Values) from the header (see parseHeader)

    returns

    (List[String]) Types of elements of columns.

  2. abstract def getNCols(keyValues: Map[String, String]): Long

    Generic method to get the number of columns from the header information.

    Generic method to get the number of columns from the header information. Must be implemented for all extensions of HDU.

    keyValues

    : (Map[String, String]) (Key, Values) from the header (see parseHeader)

    returns

    (Long) Number of columns in the data HDU.

  3. abstract def getNRows(keyValues: Map[String, String]): Long

    Generic method to return the number of rows from the header information.

    Generic method to return the number of rows from the header information. To be implemented in specific HDU.

    keyValues

    : (Map[String, String]) (Key, Values) from the header (see parseHeader)

    returns

    (Long) Number of rows in the data HDU.

  4. abstract def getRow(buf: Array[Byte]): List[Any]

    Generic method to decode the rows of the data block.

    Generic method to decode the rows of the data block. Must be implemented for all extensions of HDU.

    buf

    : (Array[Bytes]) Array of Bytes describing one row.

    returns

    (List[Any]) The decoded row containing primitives.

  5. abstract def getSizeRowBytes(keyValues: Map[String, String]): Int

    Generic method to get the size of one row (bytes) from the header information.

    Generic method to get the size of one row (bytes) from the header information. Must be implemented for all HDU extensions.

    keyValues

    : (Map[String, String]) (Key, Values) from the header (see parseHeader)

    returns

    (Long) Size in bytes of one row.

  6. abstract def implemented: Boolean

    Check whether the HDU is implemented in the library.

    Check whether the HDU is implemented in the library. Must be set for all extensions of HDU trait.

    returns

    (Boolean)

  7. abstract def listOfStruct: List[StructField]

    Generic method to convert header information into StructField used to build the DataFrame schema.

    Generic method to convert header information into StructField used to build the DataFrame schema. Must be implemented for all extensions of HDU.

    returns

    (List[StructField]) List of StructField containing name and types of columns.

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. val BYTE_SIZE: Int

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def getElementFromBuffer(subbuf: Array[Byte], fitstype: String): Any

    Convert one array of bytes corresponding to one element of the table into its primitive type.

    Convert one array of bytes corresponding to one element of the table into its primitive type.

    subbuf

    : (Array[Byte]) Array of byte describing one element of the table.

    fitstype

    : (String) The type of this table element according to the header.

    returns

    the table element converted from binary.

  14. def hashCode(): Int

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

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

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

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

    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  20. def toString(): String

    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped