public class SqlFile
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
path
the SQL file path
|
protected java.lang.String |
sql
the SQL string
|
protected SqlNode |
sqlNode
the SQL node
|
Constructor and Description |
---|
SqlFile(java.lang.String path,
java.lang.String sql,
SqlNode sqlNode)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPath()
Returns the SQL file path.
|
java.lang.String |
getSql()
Returns the SQL string.
|
SqlNode |
getSqlNode()
Returns the SQL node.
|
java.lang.String |
toString() |
protected final java.lang.String path
protected final java.lang.String sql
protected final SqlNode sqlNode
public SqlFile(java.lang.String path, java.lang.String sql, SqlNode sqlNode)
path
- the SQL file pathsql
- the SQL stringsqlNode
- the SQL nodepublic java.lang.String getPath()
public java.lang.String getSql()
public SqlNode getSqlNode()
Do not modify the SQL node in the client.
public java.lang.String toString()
toString
in class java.lang.Object