Module net.sf.jsqlparser
Class RefreshMaterializedViewStatement
- java.lang.Object
-
- net.sf.jsqlparser.statement.refresh.RefreshMaterializedViewStatement
-
public class RefreshMaterializedViewStatement extends java.lang.Object implements Statement
REFRESH MATERIALIZED VIEW [ CONCURRENTLY ] name [ WITH [ NO ] DATA ]https://www.postgresql.org/docs/16/sql-refreshmaterializedview.html
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
concurrently
private RefreshMode
refreshMode
private Table
view
-
Constructor Summary
Constructors Constructor Description RefreshMaterializedViewStatement()
RefreshMaterializedViewStatement(Table view, boolean concurrently, RefreshMode refreshMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,S>
Taccept(StatementVisitor<T> statementVisitor, S context)
RefreshMode
getRefreshMode()
Table
getView()
boolean
isConcurrently()
void
setConcurrently(boolean concurrently)
void
setRefreshMode(RefreshMode refreshMode)
void
setView(Table view)
java.lang.String
toString()
RefreshMaterializedViewStatement
withConcurrently(boolean concurrently)
RefreshMaterializedViewStatement
withTableName(Table view)
-
-
-
Field Detail
-
view
private Table view
-
refreshMode
private RefreshMode refreshMode
-
concurrently
private boolean concurrently
-
-
Constructor Detail
-
RefreshMaterializedViewStatement
public RefreshMaterializedViewStatement()
-
RefreshMaterializedViewStatement
public RefreshMaterializedViewStatement(Table view, boolean concurrently, RefreshMode refreshMode)
-
-
Method Detail
-
getView
public Table getView()
-
setView
public void setView(Table view)
-
getRefreshMode
public RefreshMode getRefreshMode()
-
setRefreshMode
public void setRefreshMode(RefreshMode refreshMode)
-
isConcurrently
public boolean isConcurrently()
-
setConcurrently
public void setConcurrently(boolean concurrently)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
accept
public <T,S> T accept(StatementVisitor<T> statementVisitor, S context)
-
withTableName
public RefreshMaterializedViewStatement withTableName(Table view)
-
withConcurrently
public RefreshMaterializedViewStatement withConcurrently(boolean concurrently)
-
-