Class SqlSetStreamingCommand
- java.lang.Object
-
- org.apache.ignite.internal.sql.command.SqlSetStreamingCommand
-
- All Implemented Interfaces:
SqlCommand
public class SqlSetStreamingCommand extends Object implements SqlCommand
SET STREAMING command.
-
-
Constructor Summary
Constructors Constructor Description SqlSetStreamingCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallowOverwrite()intbatchSize()longflushFrequency()booleanisOrdered()booleanisTurnOn()SqlCommandparse(SqlLexer lex)Parse command.intperNodeBufferSize()intperNodeParallelOperations()StringschemaName()voidschemaName(String schemaName)
-
-
-
Method Detail
-
parse
public SqlCommand parse(SqlLexer lex)
Parse command.- Specified by:
parsein interfaceSqlCommand- Parameters:
lex- Lexer.- Returns:
- This instance.
-
isTurnOn
public boolean isTurnOn()
- Returns:
- Whether streaming must be turned on or off by this command.
-
allowOverwrite
public boolean allowOverwrite()
- Returns:
- Whether existing values should be overwritten on keys duplication.
-
batchSize
public int batchSize()
- Returns:
- Batch size for driver.
-
perNodeParallelOperations
public int perNodeParallelOperations()
- Returns:
- Per node number of parallel operations.
-
perNodeBufferSize
public int perNodeBufferSize()
- Returns:
- Per node streamer buffer size.
-
flushFrequency
public long flushFrequency()
- Returns:
- Streamer flush timeout
-
isOrdered
public boolean isOrdered()
- Returns:
trueif the streamer keep the order of the statements. Otherwise returnsfalse.
-
schemaName
public String schemaName()
- Specified by:
schemaNamein interfaceSqlCommand- Returns:
- Schema name.
-
schemaName
public void schemaName(String schemaName)
- Specified by:
schemaNamein interfaceSqlCommand- Parameters:
schemaName- Schema name.
-
-