Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Table: At its core, Table interface represents a dataset that is accessible by a key. Table access can be asynchronous or synchronous. There are three broad categories of tables: local, remote and hybrid.
  • ReadWriteTable: Interface that represents a read-write table. It implements Table.
  • RemoteTable: Provides a unified abstraction for Samza applications to access any remote data store through stream-table join.
  • TableReadFunction & TableWriteFunction: Remote Table implementations access new types of stores by writing pluggable I/O “Read/Write” functions(TableReadFunction and TableWriteFunction interfaces). TableWriteFunction typically supports put and delete operations only. Update is not currently supported.

Image Modified


The sample code snippet shows a sample write to a Remote Table in Samza high level API.

...

Caching tables will not support updates.

Code Example- Samza Table API

Partial Update Code Example

...