Package org.pentaho.di.core.database
Class SqlScriptStatement
java.lang.Object
org.pentaho.di.core.database.SqlScriptStatement
-
Constructor Summary
ConstructorsConstructorDescriptionSqlScriptStatement(String statement, int fromIndex, int toIndex, boolean query) -
Method Summary
Modifier and TypeMethodDescriptionintintbooleanbooleanisOk()booleanisQuery()voidsetComplete(boolean complete) voidsetFromIndex(int fromIndex) voidsetLoggingText(String loggingText) voidsetOk(boolean ok) voidsetQuery(boolean query) voidsetStatement(String statement) voidsetToIndex(int toIndex) toString()
-
Constructor Details
-
SqlScriptStatement
- Parameters:
statement-fromIndex-toIndex-query-
-
-
Method Details
-
toString
-
getStatement
- Returns:
- the statement
-
setStatement
- 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
- Returns:
- the loggingText
-
setLoggingText
- 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
-