public ScanBuilder useSnapshot(long scanSnapshotId) {
      this.tableScan = tableScan.useSnapshot(scanSnapshotId);
      return this;
    }
Returns a builder to configure a read of the given table that produces generic records.

@param table an Iceberg table
@return a builder to configure the scan
iceberg/iceberg-handler/src/test/java/org/apache/iceberg/data/IcebergGenerics2.java