Class CreateIndexParam.Builder

  • Enclosing class:
    CreateIndexParam

    public static class CreateIndexParam.Builder
    extends Object
    Builder for CreateIndexParam
    • Constructor Detail

      • Builder

        public Builder​(@Nonnull
                       String tableName)
        Parameters:
        tableName - table to create index on
    • Method Detail

      • withIndex

        public CreateIndexParam.Builder withIndex​(Index index)
        Optional. Default to Index{indexType = IndexType.FLAT, nList = 16384}
        Parameters:
        index - a Index object
        Returns:
        Builder
        See Also:
        Index
      • withTimeout

        public CreateIndexParam.Builder withTimeout​(long timeout)
        Optional. Sets the deadline from when the client RPC is set to when the response is picked up by the client. Default to 86400s (1 day).
        Parameters:
        timeout - in seconds
        Returns:
        Builder