Class CreateTableRequest

  • All Implemented Interfaces:
    RESTMessage, RESTRequest

    public class CreateTableRequest
    extends java.lang.Object
    implements RESTRequest
    A REST request to create a table, either via direct commit or staging the creation of the table as part of a transaction.
    • Constructor Detail

      • CreateTableRequest

        public CreateTableRequest()
    • Method Detail

      • validate

        public void validate()
        Description copied from interface: RESTMessage
        Ensures that a constructed instance of a REST message is valid according to the REST spec.

        This is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.

        Specified by:
        validate in interface RESTMessage
      • name

        public java.lang.String name()
      • location

        public java.lang.String location()
      • schema

        public Schema schema()
      • properties

        public java.util.Map<java.lang.String,​java.lang.String> properties()
      • stageCreate

        public boolean stageCreate()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object