com.scalar.db.sql.Privilege Maven / Gradle / Ivy
package com.scalar.db.sql;
/** The privileges for ScalarDB SQL operations. */
public enum Privilege {
/** The privilege for SELECT queries. */
SELECT,
/** The privilege for INSERT and UPSERT queries. */
INSERT,
/** The privilege for UPDATE queries. */
UPDATE,
/** The privilege for DELETE queries. */
DELETE,
/** The privilege for creating tables and indexes. */
CREATE,
/** The privilege for dropping tables and indexes. */
DROP,
/** The privilege for truncating tables. */
TRUNCATE,
/** The privilege for altering tables. */
ALTER,
/** The privilege for granting and revoking privileges on tables to other users. */
GRANT
}