Class Create.Options

    • Method Detail

      • clusteringOrder

        public Create.Options clusteringOrder​(String columnName,
                                              SchemaBuilder.Direction direction)
        Add a clustering order for this table.

        To define the order on multiple columns, call this method repeatedly. The columns will be declared in the call order.

        Parameters:
        columnName - the clustering column name.
        direction - the clustering direction (DESC/ASC).
        Returns:
        this Options object.
      • compactStorage

        public Create.Options compactStorage()
        Enable the compact storage option for the table.
        Returns:
        this Options object.