getTablet#

swordfish.function.getTablet()#

Return a table or a list of tables corresponding to the specified partition or partitions.

  • If partition is a scalar, return a table.

  • If partition is a vertor, return a tuple in which every element is a table.

Parameters:
  • table (Constant) – An in-memory partitioned table.

  • partition (Constant) – A scalar/vector indicating a partition or partitions. If an element of partition belongs to the partitioning scheme of a partition, it represents the entire partition.