Packages

final case class ChunkSize(i: Int) extends AnyVal with Product with Serializable

Used implicitly when creating certain Parsable instances to determine the "chunkSize" argument for Stream.fromBlockingIterator.

No implicit ChunkSize is available by default, but the implicit derivations that expect one will default to ChunkSize.default, which uses a chunk size of 32.

You can define a local implicit val chunkSize = ChunkSize(n) to override this default.

i

The chunk size as an integer

Source
ChunkSize.scala
Linear Supertypes
Serializable, Product, Equals, AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChunkSize
  2. Serializable
  3. Product
  4. Equals
  5. AnyVal
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ChunkSize(i: Int)

    i

    The chunk size as an integer

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ChunkSize toany2stringadd[ChunkSize] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ChunkSize, B)
    Implicit
    This member is added by an implicit conversion from ChunkSize toArrowAssoc[ChunkSize] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def ensuring(cond: (ChunkSize) => Boolean, msg: => Any): ChunkSize
    Implicit
    This member is added by an implicit conversion from ChunkSize toEnsuring[ChunkSize] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  8. def ensuring(cond: (ChunkSize) => Boolean): ChunkSize
    Implicit
    This member is added by an implicit conversion from ChunkSize toEnsuring[ChunkSize] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: Boolean, msg: => Any): ChunkSize
    Implicit
    This member is added by an implicit conversion from ChunkSize toEnsuring[ChunkSize] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean): ChunkSize
    Implicit
    This member is added by an implicit conversion from ChunkSize toEnsuring[ChunkSize] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ChunkSize toStringFormat[ChunkSize] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  12. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  13. val i: Int
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def productElementNames: Iterator[String]
    Definition Classes
    Product

Deprecated Value Members

  1. def [B](y: B): (ChunkSize, B)
    Implicit
    This member is added by an implicit conversion from ChunkSize toArrowAssoc[ChunkSize] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion any2stringadd fromChunkSize to any2stringadd[ChunkSize]

Inherited by implicit conversion StringFormat fromChunkSize to StringFormat[ChunkSize]

Inherited by implicit conversion Ensuring fromChunkSize to Ensuring[ChunkSize]

Inherited by implicit conversion ArrowAssoc fromChunkSize to ArrowAssoc[ChunkSize]

Ungrouped