com.intenthq.pucket

PucketCompanion

trait PucketCompanion extends AnyRef

Trait for using with Pucket implementations' companion objects describes functions for creating, or finding puckets on a filesystem

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

Type Members

  1. abstract type DescriptorType[T <: HigherType]

  2. abstract type HigherType

  3. abstract type V

Abstract Value Members

  1. abstract def apply[T <: HigherType](path: Path, fs: FileSystem, other: V, blockSize: Int): \/[Throwable, Pucket[T]]

    Find an existing pucket on the filesystem

    Find an existing pucket on the filesystem

    T

    the expected type of the pucket data

    path

    the path to the pucket

    fs

    hadoop filesystem instance

    other

    the implementing object's parameter for verifying the found pucket matches expect format

    blockSize

    the size of a parquet block before memory is flushed

    returns

    an error if any of the validation fails or the pucket

  2. abstract def create[T <: HigherType](path: Path, fs: FileSystem, descriptor: DescriptorType[T], blockSize: Int): \/[Throwable, Pucket[T]]

    Create a new pucket

    Create a new pucket

    T

    the type of the pucket data

    path

    the path to the pucket

    fs

    hadoop filesystem instance

    descriptor

    a descriptor to create a new pucket with

    blockSize

    the size of a parquet block before memory is flushed

    returns

    an error if any of the validation fails or the new pucket

  3. abstract def findOrCreate[T <: HigherType](path: Path, fs: FileSystem, descriptor: DescriptorType[T], blockSize: Int): \/[Throwable, Pucket[T]]

    Find an existing pucket or create one if it does not exist

    Find an existing pucket or create one if it does not exist

    T

    the expected type of the pucket data

    path

    the path to the pucket

    fs

    hadoop filesystem instance

    descriptor

    a descriptor to create a new pucket with or validate an existing pucket against

    blockSize

    the size of a parquet block before memory is flushed

    returns

    an error if any of the validation fails or the pucket

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  18. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped