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 intgetFromIndex()StringgetLoggingText()StringgetStatement()intgetToIndex()booleanisComplete()booleanisOk()booleanisQuery()voidsetComplete(boolean complete)voidsetFromIndex(int fromIndex)voidsetLoggingText(String loggingText)voidsetOk(boolean ok)voidsetQuery(boolean query)voidsetStatement(String statement)voidsetToIndex(int toIndex)StringtoString()
-
-
-
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
-
-