Class AlterSchemaStatement

    • Field Detail

      • keyspaceName

        protected final java.lang.String keyspaceName
    • Constructor Detail

      • AlterSchemaStatement

        protected AlterSchemaStatement​(java.lang.String keyspaceName)
    • Method Detail

      • validate

        public void validate​(ClientState state)
        Description copied from interface: CQLStatement
        Perform additional validation required by the statment. To be overriden by subclasses if needed.
        Specified by:
        validate in interface CQLStatement
        Parameters:
        state - the current client state
      • execute

        public ResultMessage execute​(QueryState state,
                                     QueryOptions options,
                                     long queryStartNanoTime)
        Description copied from interface: CQLStatement
        Execute the statement and return the resulting result or null if there is no result.
        Specified by:
        execute in interface CQLStatement
        Parameters:
        state - the current query state
        options - options for this query (consistency, variables, pageSize, ...)
        queryStartNanoTime - the timestamp returned by System.nanoTime() when this statement was received
      • validateDefaultTimeToLive

        protected void validateDefaultTimeToLive​(TableParams params)