常量字段值

目录

com.walker.*

  • com.walker.dbmeta.support.MySQLMetaEngine
    修饰符和类型
    常量字段
    public final String
    "select table_name,column_name,data_type,NUMERIC_PRECISION data_precision,NUMERIC_SCALE data_scale, column_key, column_comment from INFORMATION_SCHEMA.Columns where table_schema=(SELECT DATABASE()) and table_name like ? order by table_name,ordinal_position"
    public final String
    "SELECT COLUMN_NAME from information_schema.COLUMNS WHERE TABLE_SCHEMA = ? AND TABLE_NAME = ?"
    public static final String
    "SELECT COUNT(*) cnt FROM information_schema.`TABLES` WHERE TABLE_SCHEMA = ? AND TABLE_TYPE = \'BASE TABLE\'"
    public final String
    "SELECT TABLE_ROWS trows FROM information_schema.`TABLES` WHERE TABLE_SCHEMA = ? AND TABLE_TYPE = \'BASE TABLE\' AND TABLE_NAME = ?"
    public final String
    "SELECT TABLE_NAME FROM information_schema.`TABLES` WHERE TABLE_SCHEMA = ? AND TABLE_TYPE = \'BASE TABLE\' AND TABLE_NAME like ?"
    public final String
    "SELECT TABLE_NAME tname, TABLE_ROWS trows, TABLE_COMMENT summary, AVG_ROW_LENGTH avg_row_len, DATA_LENGTH blocks, UPDATE_TIME last_analyzed, ENGINE tablespace_name FROM information_schema.`TABLES` WHERE TABLE_SCHEMA = ? AND TABLE_TYPE = \'BASE TABLE\' AND TABLE_NAME like ?"
    public final String
    "SELECT TABLE_NAME tname, TABLE_ROWS trows, TABLE_COMMENT summary, AVG_ROW_LENGTH avg_row_len, DATA_LENGTH blocks, UPDATE_TIME last_analyzed, ENGINE tablespace_name FROM information_schema.`TABLES` WHERE TABLE_SCHEMA = ? AND TABLE_TYPE = \'BASE TABLE\'"
    public final String
    "SELECT TABLE_NAME tname, TABLE_COMMENT summary, TABLE_ROWS trows FROM information_schema.`TABLES` WHERE TABLE_SCHEMA = :schema AND TABLE_TYPE = \'BASE TABLE\' AND TABLE_NAME in (:ids)"
  • com.walker.dbmeta.support.PostgresMetaEngine
    修饰符和类型
    常量字段
    public final String
    "SELECT COLUMN_NAME from information_schema.COLUMNS WHERE table_catalog = ? and table_schema = \'public\' AND TABLE_NAME = ?"
    public static final String
    "SELECT COUNT(*) cnt FROM information_schema.TABLES WHERE table_catalog = ? and table_schema = \'public\' and TABLE_TYPE = \'BASE TABLE\'"
    public final String
    "SELECT c.reltuples trows from pg_class c, pg_namespace n where c.relkind = \'r\' and n.nspname = \'public\' and c.relnamespace = n.oid and c.relname = ?"
    public final String
    "SELECT c.relname table_name from pg_class c, pg_namespace n where c.relkind = \'r\' and n.nspname = \'public\' and c.relnamespace = n.oid and c.relname like ?"
    public final String
    "SELECT c.relname tname, \'\' summary, c.reltuples trows from pg_class c, pg_namespace n where c.relkind = \'r\' and n.nspname = \'public\' and c.relnamespace = n.oid and c.relname like ?"
    public final String
    "SELECT c.relname tname, \'\' summary, c.reltuples trows from pg_class c, pg_namespace n where c.relkind = \'r\' and n.nspname = \'public\' and c.relnamespace = n.oid and c.relname in (:ids)"