Enum Class SQLQuery
- All Implemented Interfaces:
Serializable
,Comparable<SQLQuery>
,Constable
All SQL queries used by this plugin
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe query for creating the (name,network) index on the inter-portal position tableThe query for creating the (name,network) index on the portal position tableThe query for creating the inter-portal tableThe query for creating the inter-portal flag relation tableThe query for creating the inter-portal position tableThe query for creating the last known name tableThe query for creating the portal tableThe query for creating the (portal) flag tableThe query for creating the portal flag relation tableThe query for creating the portal position tableThe query for creating the position type tableThe query for creating the server info tableThe query for creating the inter-portal viewThe query for creating the portal viewDelete all portals with the specified gate formatDelete all inter server portals with the specified gate format and serverThe query for deleting an inter-portalThe query for deliting one inter-portal flag relationThe query for deleting an inter-portal flag relationRemove inter portal from the databaseThe query for deleting an inter-portal positionDelete all inter server portals residing in specified world and serverThe query for deleting a portalThe query for deleting one portal flag relationThe query for deleting a portal flag relationRemove portal position from the databaseThe query for deleting a portal positionDelete all portals residing in specified worldThe query for getting every inter-portalGet all inter server portals of networkThe query for getting all portal flagsThe query for getting all portal position typesThe query for getting every portalGet all portals of specified networkThe query for getting data of one inteserver portalGet the meta inside a inter-portal positionThe query for getting all inter-portal positionsThe query for getting data of one portalGet the meta inside a portal positionThe query for getting all portal positionsThe query for inserting a new inter-portalThe query for inserting a new inter-portal flag relationThe query for inserting a new inter-portal positionThe query for inserting a new portalThe query for inserting a new portal flagThe query for inserting a new portal flag relationThe query for inserting a new portal positionThe query for inserting a new portal position typeThe query for replacing the last known name of a playerThe query for replacing the known information about a serverThe query for setting the metadata of an inter-server portalThe query for setting the meta for an inter-portal-positionThe query for setting the metadata of a portalThe query for setting the meta for a portal positionThe query for checking if the inter-portal position index existsThe query for checking if the portal position index existsChange the name of an inter server networkChange the name of an inter server portalChange the name of the networkChange the name of a portal -
Method Summary
-
Enum Constant Details
-
CREATE_TABLE_PORTAL
The query for creating the portal table -
CREATE_TABLE_INTER_PORTAL
The query for creating the inter-portal table -
CREATE_TABLE_PORTAL_POSITION_TYPE
The query for creating the position type table -
CREATE_TABLE_PORTAL_POSITION
The query for creating the portal position table -
CREATE_TABLE_INTER_PORTAL_POSITION
The query for creating the inter-portal position table -
CREATE_TABLE_PORTAL_FLAG
The query for creating the (portal) flag table -
CREATE_TABLE_SERVER_INFO
The query for creating the server info table -
CREATE_TABLE_LAST_KNOWN_NAME
The query for creating the last known name table -
CREATE_TABLE_PORTAL_FLAG_RELATION
The query for creating the portal flag relation table -
CREATE_TABLE_INTER_PORTAL_FLAG_RELATION
The query for creating the inter-portal flag relation table -
CREATE_VIEW_PORTAL
The query for creating the portal view -
CREATE_VIEW_INTER_PORTAL
The query for creating the inter-portal view -
CREATE_INDEX_PORTAL_POSITION
The query for creating the (name,network) index on the portal position table -
CREATE_INDEX_INTER_PORTAL_POSITION
The query for creating the (name,network) index on the inter-portal position table -
GET_ALL_PORTALS
The query for getting every portal -
GET_ALL_INTER_PORTALS
The query for getting every inter-portal -
GET_ALL_PORTAL_FLAGS
The query for getting all portal flags -
GET_ALL_PORTAL_POSITION_TYPES
The query for getting all portal position types -
GET_PORTAL_POSITIONS
The query for getting all portal positions -
GET_INTER_PORTAL_POSITIONS
The query for getting all inter-portal positions -
INSERT_PORTAL_POSITION_TYPE
The query for inserting a new portal position type -
INSERT_PORTAL_POSITION
The query for inserting a new portal position -
INSERT_INTER_PORTAL_POSITION
The query for inserting a new inter-portal position -
INSERT_PORTAL_FLAG
The query for inserting a new portal flag -
INSERT_PORTAL_FLAG_RELATION
The query for inserting a new portal flag relation -
INSERT_INTER_PORTAL_FLAG_RELATION
The query for inserting a new inter-portal flag relation -
INSERT_PORTAL
The query for inserting a new portal -
INSERT_INTER_PORTAL
The query for inserting a new inter-portal -
REPLACE_LAST_KNOWN_NAME
The query for replacing the last known name of a player -
REPLACE_SERVER_INFO
The query for replacing the known information about a server -
DELETE_PORTAL_POSITIONS
The query for deleting a portal position -
DELETE_INTER_PORTAL_POSITIONS
The query for deleting an inter-portal position -
DELETE_PORTAL_FLAG_RELATIONS
The query for deleting a portal flag relation -
DELETE_INTER_PORTAL_FLAG_RELATIONS
The query for deleting an inter-portal flag relation -
DELETE_PORTAL_FLAG_RELATION
The query for deleting one portal flag relation -
DELETE_INTER_PORTAL_FLAG_RELATION
The query for deliting one inter-portal flag relation -
DELETE_PORTAL
The query for deleting a portal -
DELETE_INTER_PORTAL
The query for deleting an inter-portal -
SHOW_INDEX_PORTAL_POSITION
The query for checking if the portal position index exists -
SHOW_INDEX_INTER_PORTAL_POSITION
The query for checking if the inter-portal position index exists -
DELETE_PORTAL_POSITION
Remove portal position from the database -
DELETE_INTER_PORTAL_POSITION
Remove inter portal from the database -
GET_PORTAL
The query for getting data of one portal -
GET_INTER_PORTAL
The query for getting data of one inteserver portal -
SET_PORTAL_META
The query for setting the metadata of a portal -
SET_INTER_PORTAL_META
The query for setting the metadata of an inter-server portal -
SET_PORTAL_POSITION_META
The query for setting the meta for a portal position -
SET_INTER_PORTAL_POSITION_META
The query for setting the meta for an inter-portal-position -
GET_PORTAL_POSITION_META
Get the meta inside a portal position -
GET_INTER_PORTAL_POSITION_META
Get the meta inside a inter-portal position -
UPDATE_NETWORK_NAME
Change the name of the network -
UPDATE_INTER_NETWORK_NAME
Change the name of an inter server network -
UPDATE_PORTAL_NAME
Change the name of a portal -
UPDATE_INTER_PORTAL_NAME
Change the name of an inter server portal -
GET_ALL_PORTALS_OF_NETWORK
Get all portals of specified network -
GET_ALL_INTER_PORTALS_OF_NETWORK
Get all inter server portals of network -
DELETE_WORLD
Delete all portals residing in specified world -
DELETE_INTER_WORLD
Delete all inter server portals residing in specified world and server -
DELETE_GATE_FORMAT
Delete all portals with the specified gate format -
DELETE_INTER_GATE_FORMAT
Delete all inter server portals with the specified gate format and server
-
-
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
-