Class/Object

com.intenthq.pucket.thrift

ThriftPucket

Related Docs: object ThriftPucket | package thrift

Permalink

case class ThriftPucket[T <: Thrift] extends Pucket[T] with Product with Serializable

A Thrift type of pucket.

T

The data type the pucket will contain

Linear Supertypes
Serializable, Serializable, Product, Equals, Pucket[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ThriftPucket
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Pucket
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def absorb(pucket: Pucket[T]): \/[Throwable, Unit]

    Permalink

    Absorb another pucket of the same type into this one

    Absorb another pucket of the same type into this one

    Will only absorb if the pucket it is absorbing is on a different path and the descriptor is the same

    pucket

    the pucket to be absorbed

    Definition Classes
    Pucket
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val blockSize: Int

    Permalink

    Default Parquet block size

    Default Parquet block size

    Definition Classes
    ThriftPucketPucket
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val conf: Configuration

    Permalink

    Hadoop configuration

    Hadoop configuration

    Definition Classes
    Pucket
  9. val descriptor: ThriftPucketDescriptor[T]

    Permalink

    the pucket descriptor.

    Definition Classes
    ThriftPucketPucket
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def file: Path

    Permalink

    Generate a filename

    Generate a filename

    returns

    a relative hadoop path to a new randomly generated filename

    Definition Classes
    Pucket
  12. def filename: Path

    Permalink

    Generate a fully qualified filename under the pucket

    Generate a fully qualified filename under the pucket

    returns

    a fully qualified hadoop path to a new randomly generated filename under pucket

    Definition Classes
    Pucket
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. val fs: FileSystem

    Permalink

    hadoop filesystem instance

    hadoop filesystem instance

    Definition Classes
    ThriftPucketPucket
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. val id: Int

    Permalink

    An identifier for the pucket for use in writer cache

    An identifier for the pucket for use in writer cache

    returns

    a string identifier

    Definition Classes
    Pucket
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def listFiles: \/[Throwable, Seq[Path]]

    Permalink

    List all the parquet files in the pucket

    List all the parquet files in the pucket

    returns

    a list of fully qualified paths to parquet files

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

    Permalink
    Definition Classes
    AnyRef
  20. def newInstance(newPath: Path): Pucket[T]

    Permalink

    Used when obtaining a new pucket as a subdir of an existing one

    Used when obtaining a new pucket as a subdir of an existing one

    Attributes
    protected
    Definition Classes
    ThriftPucketPucket
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def partition(data: T): Path

    Permalink

    Use the partitioner specified in the descriptor to get a new pucket on a calculated path

    Use the partitioner specified in the descriptor to get a new pucket on a calculated path

    data

    the object to inspect for partitioning

    returns

    a new path which is a subpath under the pucket, otherwise the current path

    Definition Classes
    Pucket
  24. val path: Path

    Permalink

    path to the pucket

    path to the pucket

    Definition Classes
    ThriftPucketPucket
  25. def reader(filter: Option[Filter]): \/[Throwable, Reader[T]]

    Permalink

    Reader for the pucket.

    Reader for the pucket. See com.intenthq.pucket.reader.Reader

    returns

    a new Reader for reading data from the pucket

    Definition Classes
    ThriftPucketPucket
  26. def reader: \/[Throwable, Reader[T]]

    Permalink

    Reader for the pucket.

    Reader for the pucket. See com.intenthq.pucket.reader.Reader

    Definition Classes
    Pucket
  27. def subPucket(subPath: Path): \/[Throwable, Pucket[T]]

    Permalink

    Create a directory as a subpath of the pucket and create a new pucket instance at the new path

    Create a directory as a subpath of the pucket and create a new pucket instance at the new path

    returns

    a new pucket at the sub path specified or an error if the path creation fails

    Definition Classes
    Pucket
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def targetFile(pucket: Pucket[T], otherPath: Path): Path

    Permalink

    Target location for a given path under the current pucket

    Target location for a given path under the current pucket

    returns

    a fully qualified path under the current pucket, maintaining a partitioning scheme

    Definition Classes
    Pucket
  30. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def writer: \/[Throwable, ThriftWriter[T]]

    Permalink

    Writer implementation for the pucket.

    Writer implementation for the pucket. See com.intenthq.pucket.writer.Writer

    Definition Classes
    ThriftPucketPucket

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Pucket[T]

Inherited from AnyRef

Inherited from Any

Ungrouped