Skip to content

CachedBatchSerializer

CachedBatchSerializer is an abstraction of serializers of CachedBatches.

CachedBatchSerializer is configured using spark.sql.cache.serializer configuration property (for InMemoryRelation).

CachedBatchSerializer is used to create a CachedRDDBuilder.

CachedBatchSerializer is a Serializable.

Contract (Subset)

buildFilter

buildFilter(
  predicates: Seq[Expression],
  cachedAttributes: Seq[Attribute]): (Int, Iterator[CachedBatch]) => Iterator[CachedBatch]

See:

Used when:

supportsColumnarInput

supportsColumnarInput(
  schema: Seq[Attribute]): Boolean

See:

Used when:

Implementations