Class AbstractSQLAction<T>

    • Field Detail

      • sqlContent

        @NotNull
        protected @NotNull java.lang.String sqlContent
    • Constructor Detail

      • AbstractSQLAction

        public AbstractSQLAction​(@NotNull
                                 @NotNull SQLManagerImpl manager,
                                 @NotNull
                                 @NotNull java.lang.String sql)
      • AbstractSQLAction

        public AbstractSQLAction​(@NotNull
                                 @NotNull SQLManagerImpl manager,
                                 @NotNull
                                 @NotNull java.lang.String sql,
                                 @NotNull
                                 @NotNull java.util.UUID uuid)
      • AbstractSQLAction

        public AbstractSQLAction​(@NotNull
                                 @NotNull SQLManagerImpl manager,
                                 @NotNull
                                 @NotNull java.lang.String sql,
                                 long createTime)
      • AbstractSQLAction

        public AbstractSQLAction​(@NotNull
                                 @NotNull SQLManagerImpl manager,
                                 @NotNull
                                 @NotNull java.lang.String sql,
                                 @NotNull
                                 @NotNull java.util.UUID uuid,
                                 long createTime)
    • Method Detail

      • getActionUUID

        @NotNull
        public @NotNull java.util.UUID getActionUUID()
        Description copied from interface: SQLAction
        得到该Action的UUID
        Specified by:
        getActionUUID in interface SQLAction<T>
        Returns:
        UUID
      • getShortID

        @NotNull
        public @NotNull java.lang.String getShortID()
        Description copied from interface: SQLAction
        得到短八位格式的UUID
        Specified by:
        getShortID in interface SQLAction<T>
        Returns:
        UUID(8)
      • getCreateTime

        public long getCreateTime()
        Description copied from interface: SQLAction
        得到该Action的创建时间
        Specified by:
        getCreateTime in interface SQLAction<T>
        Returns:
        创建时间
      • getSQLContent

        @NotNull
        public @NotNull java.lang.String getSQLContent()
        Description copied from interface: SQLAction
        得到该Action所要执行的源SQL语句
        Specified by:
        getSQLContent in interface SQLAction<T>
        Returns:
        源SQL语句
      • outputDebugMessage

        protected void outputDebugMessage()