All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.datastax.dse.driver.api.querybuilder.schema.CreateDseAggregateStateFunc Maven / Gradle / Ivy

/*
 * Copyright DataStax, Inc.
 *
 * This software can be used solely with DataStax Enterprise. Please consult the license at
 * http://www.datastax.com/terms/datastax-dse-driver-license-terms
 */
package com.datastax.dse.driver.api.querybuilder.schema;

import com.datastax.oss.driver.api.core.CqlIdentifier;
import com.datastax.oss.driver.api.core.type.DataType;
import com.datastax.oss.driver.api.core.type.DataTypes;
import com.datastax.oss.driver.api.querybuilder.SchemaBuilder;
import edu.umd.cs.findbugs.annotations.NonNull;

public interface CreateDseAggregateStateFunc {

  /**
   * Adds STYPE to the create aggregate query. This is used to specify what type is returned from
   * the state function.
   *
   * 

To create the data type, use the constants and static methods in {@link DataTypes}, or * {@link SchemaBuilder#udt(CqlIdentifier, boolean)}. */ @NonNull CreateDseAggregateEnd withSType(@NonNull DataType dataType); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy