Enum Class SQLStatement
- All Implemented Interfaces:
Serializable,Comparable<SQLStatement>,Constable
Represents an SQL statement.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionObtains the structures whose center point's chunk hash value has a certain value.Inserts a new structure creator. -
Method Summary
Modifier and TypeMethodDescriptionConstructs a newDelayedPreparedStatementfrom thisSQLStatement.static DelayedPreparedStatementconstructDelayedPreparedStatement(SQLStatement sqlStatement) Constructs a newDelayedPreparedStatementfrom theSQLStatement.The statement thisSQLStatementrepresents.static StringgetStatement(SQLStatement sqlStatement) Gets the statement thisSQLStatementrepresents.intThe number of variables in the statement.static intgetVariableCountCount(SQLStatement sqlStatement) Gets the number of variables in the statement.it.unimi.dsi.fastutil.ints.IntImmutableListThe indices of the variables in the statement.static SQLStatementReturns the enum constant of this class with the specified name.static SQLStatement[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UPDATE_STRUCTURE_BASE
-
UPDATE_STRUCTURE_OWNER_PERMISSION
-
GET_STRUCTURE_OWNER_PLAYER
-
DELETE_NAMED_STRUCTURE_OF_PLAYER
-
DELETE_STRUCTURE_TYPE
-
INSERT_STRUCTURE_OWNER
-
REMOVE_STRUCTURE_OWNER
-
GET_POWER_BLOCK_DATA_IN_CHUNK
-
INSERT_OR_IGNORE_PLAYER_DATA
-
GET_IDENTIFIERS_FROM_PARTIAL_NAME_MATCH_WITH_OWNER
-
GET_IDENTIFIERS_FROM_PARTIAL_UID_MATCH_WITH_OWNER
-
UPDATE_PLAYER_DATA
-
GET_PLAYER_DATA
-
GET_PLAYER_DATA_FROM_NAME
-
GET_OWNER_COUNT_OF_STRUCTURE
-
GET_STRUCTURE_COUNT_BY_NAME
-
GET_PLAYER_STRUCTURE_COUNT
-
GET_STRUCTURE_COUNT_FOR_PLAYER
-
IS_ANIMATE_ARCHITECTURE_WORLD
-
DELETE_STRUCTURE
-
GET_PLAYER_ID
-
GET_STRUCTURE_BASE_FROM_ID
-
GET_STRUCTURES_IN_CHUNK
Obtains the structures whose center point's chunk hash value has a certain value. -
GET_STRUCTURE_BASE_FROM_ID_FOR_PLAYER
-
GET_NAMED_STRUCTURES_OWNED_BY_PLAYER
-
GET_STRUCTURES_WITH_NAME
-
GET_STRUCTURES_OWNED_BY_PLAYER_WITH_LEVEL
-
GET_STRUCTURE_OWNERS
-
GET_STRUCTURES_OF_TYPE
-
GET_STRUCTURES_OF_VERSIONED_TYPE
-
INSERT_STRUCTURE_BASE
-
INSERT_PRIME_OWNER
Inserts a new structure creator. This is a structure owner with permission level 0.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getStatement
Gets the statement thisSQLStatementrepresents.- Parameters:
sqlStatement- TheSQLStatement.- Returns:
- The statement this
SQLStatementrepresents.
-
getVariableCountCount
Gets the number of variables in the statement.- Parameters:
sqlStatement- The statement.- Returns:
- The number of variables in the statement.
-
constructDelayedPreparedStatement
Constructs a newDelayedPreparedStatementfrom theSQLStatement.- Parameters:
sqlStatement- TheSQLStatement.- Returns:
- A new
DelayedPreparedStatement.
-
constructDelayedPreparedStatement
Constructs a newDelayedPreparedStatementfrom thisSQLStatement.- Returns:
- A new
DelayedPreparedStatement.
-
getStatement
The statement thisSQLStatementrepresents. -
getVariableIndices
public it.unimi.dsi.fastutil.ints.IntImmutableList getVariableIndices()The indices of the variables in the statement. -
getVariableCount
public int getVariableCount()The number of variables in the statement.
-