Package org.pentaho.di.core.database
Class SqlScriptStatement
- java.lang.Object
-
- org.pentaho.di.core.database.SqlScriptStatement
-
public class SqlScriptStatement extends Object
-
-
Constructor Summary
Constructors Constructor Description SqlScriptStatement(String statement, int fromIndex, int toIndex, boolean query)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFromIndex()
String
getLoggingText()
String
getStatement()
int
getToIndex()
boolean
isComplete()
boolean
isOk()
boolean
isQuery()
void
setComplete(boolean complete)
void
setFromIndex(int fromIndex)
void
setLoggingText(String loggingText)
void
setOk(boolean ok)
void
setQuery(boolean query)
void
setStatement(String statement)
void
setToIndex(int toIndex)
String
toString()
-
-
-
Constructor Detail
-
SqlScriptStatement
public SqlScriptStatement(String statement, int fromIndex, int toIndex, boolean query)
- Parameters:
statement
-fromIndex
-toIndex
-query
-
-
-
Method Detail
-
getStatement
public String getStatement()
- Returns:
- the statement
-
setStatement
public void setStatement(String statement)
- Parameters:
statement
- the statement to set
-
getFromIndex
public int getFromIndex()
- Returns:
- the fromIndex
-
setFromIndex
public void setFromIndex(int fromIndex)
- Parameters:
fromIndex
- the fromIndex to set
-
getToIndex
public int getToIndex()
- Returns:
- the toIndex
-
setToIndex
public void setToIndex(int toIndex)
- Parameters:
toIndex
- the toIndex to set
-
isQuery
public boolean isQuery()
- Returns:
- the query
-
setQuery
public void setQuery(boolean query)
- Parameters:
query
- the query to set
-
isOk
public boolean isOk()
- Returns:
- the ok
-
setOk
public void setOk(boolean ok)
- Parameters:
ok
- the ok to set
-
getLoggingText
public String getLoggingText()
- Returns:
- the loggingText
-
setLoggingText
public void setLoggingText(String loggingText)
- Parameters:
loggingText
- the loggingText to set
-
isComplete
public boolean isComplete()
- Returns:
- the complete
-
setComplete
public void setComplete(boolean complete)
- Parameters:
complete
- the complete to set
-
-