Package

org.dianahep.sparkroot

ast

Permalink

package ast

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ast
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class AbstractSchemaTree extends AnyRef

    Permalink
  2. case class BasicBranchIterator(branch: TBranch) extends BranchIterator[Any] with Product with Serializable

    Permalink

    Iterator over any Basic Type

  3. abstract class BranchIterator[+T] extends Iterator[T]

    Permalink

    Main Abstraction for iterating a over a branch

  4. case class EmptyRootNode(name: String, entries: Long) extends AbstractSchemaTree with Product with Serializable

    Permalink
  5. class Leaf extends AbstractSchemaTree

    Permalink
  6. class LeafElement extends Leaf

    Permalink
  7. class LeafElementInfo extends LeafInfo

    Permalink
  8. class LeafInfo extends AnyRef

    Permalink
  9. case class Node(subnodes: Seq[AbstractSchemaTree], info: NodeInfo) extends AbstractSchemaTree with Product with Serializable

    Permalink
  10. class NodeElementInfo extends NodeInfo

    Permalink
  11. class NodeInfo extends AnyRef

    Permalink
  12. case class RootNode(name: String, nodes: Seq[AbstractSchemaTree]) extends AbstractSchemaTree with Product with Serializable

    Permalink
  13. case class SRArrayType(t: SRType, n: Int) extends SRBasicType with Product with Serializable

    Permalink
  14. abstract class SRBasicType extends SRType

    Permalink

    Base Class for all the Basic Types.

    Base Class for all the Basic Types. C Struct is also a derivative of a basic type

  15. case class SRStructType(memberNamesTypes: Seq[(String, SRType)]) extends SRType with Product with Serializable

    Permalink
  16. abstract class SRType extends AnyRef

    Permalink

    Base Class for all the types

  17. case class SplittableCollectionNodeElement(subnodes: Seq[AbstractSchemaTree], leaf: LeafElement, info: NodeElementInfo) extends AbstractSchemaTree with Product with Serializable

    Permalink
  18. case class SplittableObjectNodeElement(subnodes: Seq[AbstractSchemaTree], info: NodeElementInfo) extends AbstractSchemaTree with Product with Serializable

    Permalink
  19. case class StructBranchIterator(branch: TBranch) extends BranchIterator[Seq[Any]] with Product with Serializable

    Permalink

    Multi leaf branches are represented as structs To avoid dynamic casting (need a return not of Any, but Seq[Any])

  20. case class TerminalCollectionMemberNodeElement(leaf: LeafElement, info: NodeElementInfo, iter: BranchIterator[Any]) extends AbstractSchemaTree with Product with Serializable

    Permalink
  21. case class TerminalMultiLeafNode(leaves: Seq[Leaf], info: NodeInfo, iter: StructBranchIterator) extends AbstractSchemaTree with Product with Serializable

    Permalink
  22. case class TerminalNode(leaf: Leaf, info: NodeInfo, iter: BasicBranchIterator) extends AbstractSchemaTree with Product with Serializable

    Permalink
  23. case class TerminalObjectNodeElement(leaf: LeafElement, info: NodeElementInfo, iter: BranchIterator[Any]) extends AbstractSchemaTree with Product with Serializable

    Permalink
  24. case class TerminalSimpleNodeElement(leaf: LeafElement, info: NodeElementInfo, iter: BranchIterator[Any]) extends AbstractSchemaTree with Product with Serializable

    Permalink
  25. case class UnSplittableCollectionNodeElement(leaf: LeafElement, info: NodeElementInfo, streamer: TStreamerElement, iter: BranchIterator[Any]) extends AbstractSchemaTree with Product with Serializable

    Permalink
  26. case class UnSplittableObjectNodeElement(leaf: LeafElement, info: NodeElementInfo, streamers: Seq[TStreamerElement], iter: BranchIterator[Any]) extends AbstractSchemaTree with Product with Serializable

    Permalink
  27. case class UnknownNode(subnodes: Seq[AbstractSchemaTree], leaf: LeafElement, info: NodeElementInfo) extends AbstractSchemaTree with Product with Serializable

    Permalink
  28. case class UnknownTerminalNode(leaf: Leaf, info: NodeElementInfo, iter: BranchIterator[Any]) extends AbstractSchemaTree with Product with Serializable

    Permalink

Value Members

  1. object SRBooleanType extends SRBasicType with Product with Serializable

    Permalink
  2. object SRByteType extends SRBasicType with Product with Serializable

    Permalink
  3. object SRDoubleType extends SRBasicType with Product with Serializable

    Permalink
  4. object SRFloatType extends SRBasicType with Product with Serializable

    Permalink
  5. object SRIntegerType extends SRBasicType with Product with Serializable

    Permalink
  6. object SRLongType extends SRBasicType with Product with Serializable

    Permalink
  7. object SRNull extends SRType with Product with Serializable

    Permalink
  8. object SRShortType extends SRBasicType with Product with Serializable

    Permalink
  9. object SRStringType extends SRBasicType with Product with Serializable

    Permalink
  10. def arrangeStreamers(reader: RootFileReader): Map[String, TStreamerInfo]

    Permalink
  11. def assignBranchType(branch: TBranch): SRType

    Permalink

    returns

    - Return the full Simple SR Data Type for this terminal branch

  12. def assignLeafType(leaf: TLeaf): SRType

    Permalink
  13. def assignLeafTypeByLeafClass(leaf: TLeaf): SRType

    Permalink

    for simple branches - these are the ROOT Type/Codes => our internal type system

    for simple branches - these are the ROOT Type/Codes => our internal type system

    returns

    - return the DataType representing the code

  14. def buildAST(tree: TTree, streamers: Map[String, TStreamerInfo], requiredColumns: Array[String]): AbstractSchemaTree

    Permalink

    returns

    - returns the AbstractSchemaTree RootNode

  15. def buildATT(tree: TTree, streamers: Map[String, TStreamerInfo], requiredColumns: Array[String]): core.SRType

    Permalink

    Build ATT

    Build ATT

    returns

    ATT

  16. def buildSparkRow(ast: AbstractSchemaTree): Row

    Permalink

    returns

    Spark DataFrame 1 Row

  17. def buildSparkSchema(ast: AbstractSchemaTree): StructType

    Permalink

    returns

    Spark DataFrame Schema

  18. def buildSparkSchema(att: core.SRType): StructType

    Permalink
  19. def containsNext(ast: AbstractSchemaTree): Boolean

    Permalink
  20. def containsNext(att: core.SRType): Boolean

    Permalink
  21. val customStreamers: Map[String, core.SRType]

    Permalink
  22. def findTree(dir: TDirectory): TTree

    Permalink
  23. def printAST(ast: AbstractSchemaTree): Unit

    Permalink

    returns

    - void prints the Tree

  24. def printATT(att: core.SRType, level: Int = 0, sep: String = " "): Unit

    Permalink

    returns

    prints the Abstractly Typed Tree

  25. def readSparkRow(att: core.SRType): Row

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped