Package org.apache.iceberg.spark
Class SparkTableCache
- java.lang.Object
-
- org.apache.iceberg.spark.SparkTableCache
-
public class SparkTableCache extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SparkTableCache()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(java.lang.String key, Table table)
boolean
contains(java.lang.String key)
static SparkTableCache
get()
Table
get(java.lang.String key)
Table
remove(java.lang.String key)
int
size()
-
-
-
Method Detail
-
get
public static SparkTableCache get()
-
size
public int size()
-
add
public void add(java.lang.String key, Table table)
-
contains
public boolean contains(java.lang.String key)
-
get
public Table get(java.lang.String key)
-
remove
public Table remove(java.lang.String key)
-
-