Class TableContext
Object
org.apache.spark.sql.connector.catalog.TableContext
Encapsulates the parsed, Spark-recognized parameters of a table load request, passed from the
analyzer / DataFrame API to the catalog's
TableCatalog.loadTable(Identifier, TableContext, CaseInsensitiveStringMap) method.
A load is either a read (optionally with time travel) or a write (carrying write privileges); time travel and write privileges are mutually exclusive.
- Since:
- 4.3.0
-
Constructor Details
-
TableContext
-
-
Method Details
-
timeTravel
Returns the time-travel spec, or empty for a current-version read. -
writePrivileges
Returns the requested write privileges; empty for a read. -
equals
-
hashCode
public int hashCode() -
toString
-