Skip to content

Commit

Permalink
Reserve space for query kind.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shylock-Hg committed Sep 27, 2021
1 parent 6a5fb69 commit 4b995d8
Showing 1 changed file with 97 additions and 97 deletions.
194 changes: 97 additions & 97 deletions src/graph/planner/plan/PlanNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,121 +71,121 @@ class PlanNode {
kInnerJoin = kindGen(26, 0),

// Logic
kStart = kindGen(27, 0),
kSelect = kindGen(28, 0),
kLoop = kindGen(29, 0),
kPassThrough = kindGen(30, 0),
kStart = kindGen(4096, 0),
kSelect = kindGen(4097, 0),
kLoop = kindGen(4098, 0),
kPassThrough = kindGen(4099, 0),

// schema related
kCreateSpace = kindGen(31, 0),
kCreateSpaceAs = kindGen(122, 0),
kCreateTag = kindGen(32, 0),
kCreateEdge = kindGen(33, 0),
kDescSpace = kindGen(34, 0),
kShowCreateSpace = kindGen(35, 0),
kDescTag = kindGen(36, 0),
kDescEdge = kindGen(37, 0),
kAlterTag = kindGen(38, 0),
kAlterEdge = kindGen(39, 0),
kShowSpaces = kindGen(40, 0),
kSwitchSpace = kindGen(41, 0),
kShowTags = kindGen(42, 0),
kShowEdges = kindGen(43, 0),
kShowCreateTag = kindGen(44, 0),
kShowCreateEdge = kindGen(45, 0),
kDropSpace = kindGen(46, 0),
kDropTag = kindGen(47, 0),
kDropEdge = kindGen(48, 0),
kCreateSpace = kindGen(4100, 0),
kCreateSpaceAs = kindGen(4101, 0),
kCreateTag = kindGen(4102, 0),
kCreateEdge = kindGen(4103, 0),
kDescSpace = kindGen(4104, 0),
kShowCreateSpace = kindGen(4105, 0),
kDescTag = kindGen(4106, 0),
kDescEdge = kindGen(4107, 0),
kAlterTag = kindGen(4108, 0),
kAlterEdge = kindGen(4109, 0),
kShowSpaces = kindGen(4110, 0),
kSwitchSpace = kindGen(4111, 0),
kShowTags = kindGen(4112, 0),
kShowEdges = kindGen(4113, 0),
kShowCreateTag = kindGen(4114, 0),
kShowCreateEdge = kindGen(4115, 0),
kDropSpace = kindGen(4116, 0),
kDropTag = kindGen(4117, 0),
kDropEdge = kindGen(4118, 0),

// index related
kCreateTagIndex = kindGen(49, 0),
kCreateEdgeIndex = kindGen(50, 0),
kCreateFTIndex = kindGen(51, 0),
kDropFTIndex = kindGen(52, 0),
kDropTagIndex = kindGen(53, 0),
kDropEdgeIndex = kindGen(54, 0),
kDescTagIndex = kindGen(55, 0),
kDescEdgeIndex = kindGen(56, 0),
kShowCreateTagIndex = kindGen(57, 0),
kShowCreateEdgeIndex = kindGen(58, 0),
kShowTagIndexes = kindGen(59, 0),
kShowEdgeIndexes = kindGen(60, 0),
kShowTagIndexStatus = kindGen(61, 0),
kShowEdgeIndexStatus = kindGen(62, 0),
kInsertVertices = kindGen(63, 0),
kInsertEdges = kindGen(64, 0),
kBalanceLeaders = kindGen(65, 0),
kBalance = kindGen(66, 0),
kStopBalance = kindGen(67, 0),
kResetBalance = kindGen(68, 0),
kShowBalance = kindGen(69, 0),
kSubmitJob = kindGen(70, 0),
kShowHosts = kindGen(71, 0),
kCreateTagIndex = kindGen(4119, 0),
kCreateEdgeIndex = kindGen(4120, 0),
kCreateFTIndex = kindGen(4121, 0),
kDropFTIndex = kindGen(4122, 0),
kDropTagIndex = kindGen(4123, 0),
kDropEdgeIndex = kindGen(4124, 0),
kDescTagIndex = kindGen(4125, 0),
kDescEdgeIndex = kindGen(4126, 0),
kShowCreateTagIndex = kindGen(4127, 0),
kShowCreateEdgeIndex = kindGen(4128, 0),
kShowTagIndexes = kindGen(4129, 0),
kShowEdgeIndexes = kindGen(4130, 0),
kShowTagIndexStatus = kindGen(4131, 0),
kShowEdgeIndexStatus = kindGen(4132, 0),
kInsertVertices = kindGen(4133, 0),
kInsertEdges = kindGen(4134, 0),
kBalanceLeaders = kindGen(4135, 0),
kBalance = kindGen(4136, 0),
kStopBalance = kindGen(4137, 0),
kResetBalance = kindGen(4138, 0),
kShowBalance = kindGen(4139, 0),
kSubmitJob = kindGen(4140, 0),
kShowHosts = kindGen(4141, 0),

// user related
kCreateUser = kindGen(72, 0),
kDropUser = kindGen(73, 0),
kUpdateUser = kindGen(74, 0),
kGrantRole = kindGen(75, 0),
kRevokeRole = kindGen(76, 0),
kChangePassword = kindGen(77, 0),
kListUserRoles = kindGen(78, 0),
kListUsers = kindGen(79, 0),
kListRoles = kindGen(80, 0),
kCreateUser = kindGen(4142, 0),
kDropUser = kindGen(4143, 0),
kUpdateUser = kindGen(4144, 0),
kGrantRole = kindGen(4145, 0),
kRevokeRole = kindGen(4146, 0),
kChangePassword = kindGen(4147, 0),
kListUserRoles = kindGen(4148, 0),
kListUsers = kindGen(4149, 0),
kListRoles = kindGen(4150, 0),

// Snapshot
kCreateSnapshot = kindGen(81, 0),
kDropSnapshot = kindGen(82, 0),
kShowSnapshots = kindGen(83, 0),
kCreateSnapshot = kindGen(4151, 0),
kDropSnapshot = kindGen(4152, 0),
kShowSnapshots = kindGen(4153, 0),

// Update/Delete
kDeleteVertices = kindGen(84, 0),
kDeleteEdges = kindGen(85, 0),
kUpdateVertex = kindGen(86, 0),
kDeleteTags = kindGen(87, 0),
kUpdateEdge = kindGen(88, 0),
kDeleteVertices = kindGen(4154, 0),
kDeleteEdges = kindGen(4155, 0),
kUpdateVertex = kindGen(4156, 0),
kDeleteTags = kindGen(4157, 0),
kUpdateEdge = kindGen(4158, 0),

// Show
kShowParts = kindGen(89, 0),
kShowCharset = kindGen(90, 0),
kShowCollation = kindGen(91, 0),
kShowStats = kindGen(92, 0),
kShowConfigs = kindGen(93, 0),
kSetConfig = kindGen(94, 0),
kGetConfig = kindGen(95, 0),
kShowMetaLeader = kindGen(96, 0),
kShowParts = kindGen(4159, 0),
kShowCharset = kindGen(4160, 0),
kShowCollation = kindGen(4161, 0),
kShowStats = kindGen(4162, 0),
kShowConfigs = kindGen(4163, 0),
kSetConfig = kindGen(4164, 0),
kGetConfig = kindGen(4165, 0),
kShowMetaLeader = kindGen(4166, 0),

// zone related
kShowGroups = kindGen(97, 0),
kShowZones = kindGen(98, 0),
kAddGroup = kindGen(99, 0),
kDropGroup = kindGen(100, 0),
kDescribeGroup = kindGen(101, 0),
kAddZoneIntoGroup = kindGen(102, 0),
kDropZoneFromGroup = kindGen(103, 0),
kAddZone = kindGen(104, 0),
kDropZone = kindGen(105, 0),
kDescribeZone = kindGen(106, 0),
kAddHostIntoZone = kindGen(107, 0),
kDropHostFromZone = kindGen(108, 0),
kShowGroups = kindGen(4167, 0),
kShowZones = kindGen(4168, 0),
kAddGroup = kindGen(4169, 0),
kDropGroup = kindGen(4170, 0),
kDescribeGroup = kindGen(4171, 0),
kAddZoneIntoGroup = kindGen(4172, 0),
kDropZoneFromGroup = kindGen(4173, 0),
kAddZone = kindGen(4174, 0),
kDropZone = kindGen(4175, 0),
kDescribeZone = kindGen(4176, 0),
kAddHostIntoZone = kindGen(4177, 0),
kDropHostFromZone = kindGen(4178, 0),

// listener related
kAddListener = kindGen(109, 0),
kRemoveListener = kindGen(110, 0),
kShowListener = kindGen(111, 0),
kAddListener = kindGen(4179, 0),
kRemoveListener = kindGen(4180, 0),
kShowListener = kindGen(4181, 0),

// text service related
kShowTSClients = kindGen(112, 0),
kShowFTIndexes = kindGen(113, 0),
kSignInTSService = kindGen(114, 0),
kSignOutTSService = kindGen(115, 0),
kDownload = kindGen(116, 0),
kIngest = kindGen(117, 0),
kShowSessions = kindGen(118, 0),
kUpdateSession = kindGen(119, 0),

kShowQueries = kindGen(120, 0),
kKillQuery = kindGen(121, 0),
kShowTSClients = kindGen(4182, 0),
kShowFTIndexes = kindGen(4183, 0),
kSignInTSService = kindGen(4184, 0),
kSignOutTSService = kindGen(4185, 0),
kDownload = kindGen(4186, 0),
kIngest = kindGen(4187, 0),
kShowSessions = kindGen(4188, 0),
kUpdateSession = kindGen(4189, 0),

kShowQueries = kindGen(4190, 0),
kKillQuery = kindGen(4191, 0),
};

template <typename T>
Expand Down

0 comments on commit 4b995d8

Please sign in to comment.