Table implementation
| Modifier and Type | Field and Description |
|---|---|
| private Boolean | |
| private MysqlxSession | |
| private String | |
| private SchemaImpl | |
| private XMessageBuilder |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public DeleteStatement | |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| public DatabaseObject. | existsInDatabase()
Implements com. Query the existence of this database object. |
| public String | getName()
Implements com. Retrieve the name of the database object represented by the Java object. |
| public Schema | getSchema()
Implements com. Retrieve the schema owning this database object. |
| public Session | getSession()
Implements com. Retrieve the session owning the given schema object. |
| public int | |
| public InsertStatement | insert()
Implements com. Create an insert statement using the list of all columns in the table. |
| public InsertStatement | insert(String...
one or more projection expressions fields)Implements com. Create an insert statement using the given list columns. |
| public InsertStatement | insert(Map<String, Object>
table name-value pairs fieldsAndValues)Implements com. Create an insert statement using the given key/value pairs. |
| public boolean | isView()
Implements com. Check if the underlying object is a view or not. |
| public SelectStatement | select(String...
one or more projection expressions projection)Implements com. Create a new select statement using the given projections. |
| public void | |
| public String | |
| public UpdateStatement |
| isView | back to summary |
|---|---|
| private Boolean isView | |
| mysqlxSession | back to summary |
|---|---|
| private MysqlxSession mysqlxSession | |
| name | back to summary |
|---|---|
| private String name | |
| schema | back to summary |
|---|---|
| private SchemaImpl schema | |
| xbuilder | back to summary |
|---|---|
| private XMessageBuilder xbuilder | |
| TableImpl | back to summary |
|---|---|
| pack-priv TableImpl(MysqlxSession mysqlxSession, SchemaImpl schema, String name) | |
| count | back to summary |
|---|---|
| public long count() Implements com. Doc from com. Query the number of rows in this table.
| |
| delete | back to summary |
|---|---|
| public DeleteStatement delete() Implements com. Doc from com. Create a new delete statement.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| existsInDatabase | back to summary |
|---|---|
| public DatabaseObject. Implements com. Doc from com. Query the existence of this database object.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements com. Doc from com. Retrieve the name of the database object represented by the Java object. | |
| getSchema | back to summary |
|---|---|
| public Schema getSchema() Implements com. Doc from com. Retrieve the schema owning this database object. | |
| getSession | back to summary |
|---|---|
| public Session getSession() Implements com. Doc from com. Retrieve the session owning the given schema object. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| insert | back to summary |
|---|---|
| public InsertStatement insert() Implements com. Doc from com. Create an insert statement using the list of all columns in the table.
| |
| insert | back to summary |
|---|---|
| public InsertStatement insert(String... fields) Implements com. Doc from com. Create an insert statement using the given list columns.
| |
| insert | back to summary |
|---|---|
| public InsertStatement insert(Map<String, Object> fieldsAndValues) Implements com. Doc from com. Create an insert statement using the given key/value pairs.
| |
| isView | back to summary |
|---|---|
| public boolean isView() Implements com. Doc from com. Check if the underlying object is a view or not.
| |
| select | back to summary |
|---|---|
| public SelectStatement select(String... projection) Implements com. Doc from com. Create a new select statement using the given projections.
| |
| setView | back to summary |
|---|---|
| public void setView(boolean isView) Set flag indicating if the underlying object is a view.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| update | back to summary |
|---|---|
| public UpdateStatement update() Implements com. Doc from com. Create a new update statement.
| |