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

info.archinnov.achilles.generated.dsl.EntityWithUDTForDynamicKeyspace_Delete Maven / Gradle / Ivy

package info.archinnov.achilles.generated.dsl;

import com.datastax.driver.core.querybuilder.Delete;
import com.datastax.driver.core.querybuilder.NotEq;
import com.datastax.driver.core.querybuilder.QueryBuilder;
import info.archinnov.achilles.generated.meta.entity.EntityWithUDTForDynamicKeyspace_AchillesMeta;
import info.archinnov.achilles.internals.dsl.query.delete.AbstractDelete;
import info.archinnov.achilles.internals.dsl.query.delete.AbstractDeleteColumns;
import info.archinnov.achilles.internals.dsl.query.delete.AbstractDeleteEnd;
import info.archinnov.achilles.internals.dsl.query.delete.AbstractDeleteFrom;
import info.archinnov.achilles.internals.dsl.query.delete.AbstractDeleteWhere;
import info.archinnov.achilles.internals.dsl.query.delete.AbstractDeleteWherePartition;
import info.archinnov.achilles.internals.entities.EntityWithUDTForDynamicKeyspace;
import info.archinnov.achilles.internals.entities.UDTWithNoKeyspace;
import info.archinnov.achilles.internals.metamodel.AbstractEntityProperty;
import info.archinnov.achilles.internals.options.CassandraOptions;
import info.archinnov.achilles.internals.runtime.RuntimeEngine;
import info.archinnov.achilles.type.SchemaNameProvider;
import info.archinnov.achilles.validation.Validator;
import java.lang.Class;
import java.lang.Integer;
import java.lang.Long;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.SuppressWarnings;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.Set;
import java.util.stream.Collectors;
import org.apache.commons.lang3.ArrayUtils;

public final class EntityWithUDTForDynamicKeyspace_Delete extends AbstractDelete {
  protected final EntityWithUDTForDynamicKeyspace_AchillesMeta meta;

  protected final Class entityClass = EntityWithUDTForDynamicKeyspace.class;

  public EntityWithUDTForDynamicKeyspace_Delete(RuntimeEngine rte, EntityWithUDTForDynamicKeyspace_AchillesMeta meta) {
    super(rte);
    this.meta = meta;
  }

  /**
   * Generate DELETE udt ... */
  public final EntityWithUDTForDynamicKeyspace_Delete.Cols udt() {
    delete.column("udt");
    return new EntityWithUDTForDynamicKeyspace_Delete.Cols(delete);
  }

  /**
   * Generate DELETE udtlist ... */
  public final EntityWithUDTForDynamicKeyspace_Delete.Cols udtList() {
    delete.column("udtlist");
    return new EntityWithUDTForDynamicKeyspace_Delete.Cols(delete);
  }

  /**
   * Generate DELETE udtset ... */
  public final EntityWithUDTForDynamicKeyspace_Delete.Cols udtSet() {
    delete.column("udtset");
    return new EntityWithUDTForDynamicKeyspace_Delete.Cols(delete);
  }

  /**
   * Generate DELETE udtmapkey ... */
  public final EntityWithUDTForDynamicKeyspace_Delete.Cols udtMapKey() {
    delete.column("udtmapkey");
    return new EntityWithUDTForDynamicKeyspace_Delete.Cols(delete);
  }

  /**
   * Generate DELETE udtmapvalue ... */
  public final EntityWithUDTForDynamicKeyspace_Delete.Cols udtMapValue() {
    delete.column("udtmapvalue");
    return new EntityWithUDTForDynamicKeyspace_Delete.Cols(delete);
  }

  /**
   * Generate ... * FROM ... */
  public final EntityWithUDTForDynamicKeyspace_Delete.F allColumns_FromBaseTable() {
    final Delete.Where where = delete.all().from(meta.getKeyspace().orElse("unknown_keyspace_for_" + meta.entityClass.getCanonicalName()), meta.getTableOrViewName()).where();
    return new EntityWithUDTForDynamicKeyspace_Delete.F(where, new CassandraOptions());
  }

  /**
   * Generate ... * FROM ... using the given SchemaNameProvider */
  public final EntityWithUDTForDynamicKeyspace_Delete.F allColumns_From(final SchemaNameProvider schemaNameProvider) {
    final String currentKeyspace = lookupKeyspace(schemaNameProvider, meta.entityClass);
    final String currentTable = lookupTable(schemaNameProvider, meta.entityClass);
    final Delete.Where where = delete.all().from(currentKeyspace, currentTable).where();
    return new EntityWithUDTForDynamicKeyspace_Delete.F(where, CassandraOptions.withSchemaNameProvider(schemaNameProvider));
  }

  public class Cols extends AbstractDeleteColumns {
    Cols(Delete.Selection deleteColumns) {
      super(deleteColumns);
    }

    /**
     * Generate DELETE udt ... */
    public final EntityWithUDTForDynamicKeyspace_Delete.Cols udt() {
      delete.column("udt");
      return this;
    }

    /**
     * Generate DELETE udtlist ... */
    public final EntityWithUDTForDynamicKeyspace_Delete.Cols udtList() {
      delete.column("udtlist");
      return this;
    }

    /**
     * Generate DELETE udtset ... */
    public final EntityWithUDTForDynamicKeyspace_Delete.Cols udtSet() {
      delete.column("udtset");
      return this;
    }

    /**
     * Generate DELETE udtmapkey ... */
    public final EntityWithUDTForDynamicKeyspace_Delete.Cols udtMapKey() {
      delete.column("udtmapkey");
      return this;
    }

    /**
     * Generate DELETE udtmapvalue ... */
    public final EntityWithUDTForDynamicKeyspace_Delete.Cols udtMapValue() {
      delete.column("udtmapvalue");
      return this;
    }

    /**
     * Generate a ... FROM xxx ...  */
    public final EntityWithUDTForDynamicKeyspace_Delete.F fromBaseTable() {
      final Delete.Where where = deleteColumns.from(meta.getKeyspace().orElse("unknown_keyspace_for_" + meta.entityClass.getCanonicalName()), meta.getTableOrViewName()).where();
      return new EntityWithUDTForDynamicKeyspace_Delete.F(where, new CassandraOptions());
    }

    /**
     * Generate a ... FROM xxx ... using the given SchemaNameProvider */
    public final EntityWithUDTForDynamicKeyspace_Delete.F from(final SchemaNameProvider schemaNameProvider) {
      final String currentKeyspace = lookupKeyspace(schemaNameProvider, meta.entityClass);
      final String currentTable = lookupTable(schemaNameProvider, meta.entityClass);
      final Delete.Where where = deleteColumns.from(currentKeyspace, currentTable).where();
      return new EntityWithUDTForDynamicKeyspace_Delete.F(where, CassandraOptions.withSchemaNameProvider(schemaNameProvider));
    }
  }

  public class F extends AbstractDeleteFrom {
    F(Delete.Where where, CassandraOptions cassandraOptions) {
      super(where, cassandraOptions);
    }

    public final EntityWithUDTForDynamicKeyspace_Delete.W_Id where() {
      return new EntityWithUDTForDynamicKeyspace_Delete.W_Id(where, cassandraOptions);
    }
  }

  public final class W_Id extends AbstractDeleteWherePartition {
    public W_Id(Delete.Where where, CassandraOptions cassandraOptions) {
      super(where, cassandraOptions);
    }

    public final EntityWithUDTForDynamicKeyspace_Delete.W_Id.Relation id() {
      return new EntityWithUDTForDynamicKeyspace_Delete.W_Id.Relation();
    }

    public final class Relation {
      /**
       * Generate a SELECT ... FROM ... WHERE ... id = ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.W_Clust Eq(Long id) {
        where.and(QueryBuilder.eq("id", QueryBuilder.bindMarker("id")));
        boundValues.add(id);
        encodedValues.add(meta.id.encodeFromJava(id, Optional.of(cassandraOptions)));
        return new EntityWithUDTForDynamicKeyspace_Delete.W_Clust(where, cassandraOptions);
      }

      /**
       * Generate a SELECT ... FROM ... WHERE ... id IN ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.W_Clust IN(Long... id) {
        Validator.validateTrue(ArrayUtils.isNotEmpty(id), "Varargs for field '%s' should not be null/empty", "id");
        where.and(QueryBuilder.in("id",QueryBuilder.bindMarker("id")));
        final List varargs = Arrays.asList((Object[])id);
        final List encodedVarargs = Arrays.stream((Long[])id).map(x -> meta.id.encodeFromJava(x, Optional.of(cassandraOptions))).collect(Collectors.toList());
        boundValues.add(varargs);
        encodedValues.add(encodedVarargs);
        return new EntityWithUDTForDynamicKeyspace_Delete.W_Clust(where, cassandraOptions);
      }
    }
  }

  public final class W_Clust extends AbstractDeleteWhere {
    public W_Clust(Delete.Where where, CassandraOptions cassandraOptions) {
      super(where, cassandraOptions);
    }

    public final EntityWithUDTForDynamicKeyspace_Delete.W_Clust.Relation clust() {
      return new EntityWithUDTForDynamicKeyspace_Delete.W_Clust.Relation();
    }

    public final class Relation {
      /**
       * Generate a SELECT ... FROM ... WHERE ... clust = ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Eq(UDTWithNoKeyspace clust) {
        where.and(QueryBuilder.eq("clust", QueryBuilder.bindMarker("clust")));
        boundValues.add(clust);
        encodedValues.add(meta.clust.encodeFromJava(clust, Optional.of(cassandraOptions)));
        return new EntityWithUDTForDynamicKeyspace_Delete.E(where, cassandraOptions);
      }
    }
  }

  public final class E extends AbstractDeleteEnd {
    public E(Delete.Where where, CassandraOptions cassandraOptions) {
      super(where, cassandraOptions);
    }

    @Override
    protected final Class getEntityClass() {
      return entityClass;
    }

    @Override
    protected final AbstractEntityProperty getMetaInternal() {
      return meta;
    }

    @Override
    protected final RuntimeEngine getRte() {
      return rte;
    }

    @Override
    protected final CassandraOptions getOptions() {
      return cassandraOptions;
    }

    @Override
    protected final List getBoundValuesInternal() {
      return boundValues;
    }

    @Override
    protected final List getEncodedValuesInternal() {
      return encodedValues;
    }

    @Override
    protected final EntityWithUDTForDynamicKeyspace_Delete.E getThis() {
      return this;
    }

    public final E.If_Udt if_Udt() {
      return new E.If_Udt();
    }

    public final E.If_UdtList if_UdtList() {
      return new E.If_UdtList();
    }

    public final E.If_UdtSet if_UdtSet() {
      return new E.If_UdtSet();
    }

    public final E.If_UdtMapKey if_UdtMapKey() {
      return new E.If_UdtMapKey();
    }

    public final E.If_UdtMapValue if_UdtMapValue() {
      return new E.If_UdtMapValue();
    }

    public final class If_Udt {
      /**
       * Generate an ... IF udt = ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Eq(final UDTWithNoKeyspace udt) {
        boundValues.add(udt);
        encodedValues.add(meta.udt.encodeFromJava(udt, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.eq("udt", QueryBuilder.bindMarker("udt")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an ... IF udt > ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Gt(final UDTWithNoKeyspace udt) {
        boundValues.add(udt);
        encodedValues.add(meta.udt.encodeFromJava(udt, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.gt("udt", QueryBuilder.bindMarker("udt")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an ... IF udt >= ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Gte(final UDTWithNoKeyspace udt) {
        boundValues.add(udt);
        encodedValues.add(meta.udt.encodeFromJava(udt, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.gte("udt", QueryBuilder.bindMarker("udt")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an ... IF udt < ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Lt(final UDTWithNoKeyspace udt) {
        boundValues.add(udt);
        encodedValues.add(meta.udt.encodeFromJava(udt, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.lt("udt", QueryBuilder.bindMarker("udt")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an ... IF udt <= ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Lte(final UDTWithNoKeyspace udt) {
        boundValues.add(udt);
        encodedValues.add(meta.udt.encodeFromJava(udt, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.lte("udt", QueryBuilder.bindMarker("udt")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an  ... IF udt != ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E NotEq(final UDTWithNoKeyspace udt) {
        boundValues.add(udt);
        encodedValues.add(meta.udt.encodeFromJava(udt, Optional.of(cassandraOptions)));
        where.onlyIf(NotEq.of("udt", QueryBuilder.bindMarker("udt")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }
    }

    public final class If_UdtList {
      /**
       * Generate an ... IF udtList = ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Eq(final List udtList) {
        boundValues.add(udtList);
        encodedValues.add(meta.udtList.encodeFromJava(udtList, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.eq("udtlist", QueryBuilder.bindMarker("udtlist")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an ... IF udtList > ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Gt(final List udtList) {
        boundValues.add(udtList);
        encodedValues.add(meta.udtList.encodeFromJava(udtList, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.gt("udtlist", QueryBuilder.bindMarker("udtlist")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an ... IF udtList >= ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Gte(final List udtList) {
        boundValues.add(udtList);
        encodedValues.add(meta.udtList.encodeFromJava(udtList, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.gte("udtlist", QueryBuilder.bindMarker("udtlist")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an ... IF udtList < ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Lt(final List udtList) {
        boundValues.add(udtList);
        encodedValues.add(meta.udtList.encodeFromJava(udtList, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.lt("udtlist", QueryBuilder.bindMarker("udtlist")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an ... IF udtList <= ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Lte(final List udtList) {
        boundValues.add(udtList);
        encodedValues.add(meta.udtList.encodeFromJava(udtList, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.lte("udtlist", QueryBuilder.bindMarker("udtlist")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an  ... IF udtList != ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E NotEq(final List udtList) {
        boundValues.add(udtList);
        encodedValues.add(meta.udtList.encodeFromJava(udtList, Optional.of(cassandraOptions)));
        where.onlyIf(NotEq.of("udtlist", QueryBuilder.bindMarker("udtlist")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }
    }

    public final class If_UdtSet {
      /**
       * Generate an ... IF udtSet = ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Eq(final Set udtSet) {
        boundValues.add(udtSet);
        encodedValues.add(meta.udtSet.encodeFromJava(udtSet, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.eq("udtset", QueryBuilder.bindMarker("udtset")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an ... IF udtSet > ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Gt(final Set udtSet) {
        boundValues.add(udtSet);
        encodedValues.add(meta.udtSet.encodeFromJava(udtSet, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.gt("udtset", QueryBuilder.bindMarker("udtset")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an ... IF udtSet >= ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Gte(final Set udtSet) {
        boundValues.add(udtSet);
        encodedValues.add(meta.udtSet.encodeFromJava(udtSet, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.gte("udtset", QueryBuilder.bindMarker("udtset")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an ... IF udtSet < ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Lt(final Set udtSet) {
        boundValues.add(udtSet);
        encodedValues.add(meta.udtSet.encodeFromJava(udtSet, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.lt("udtset", QueryBuilder.bindMarker("udtset")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an ... IF udtSet <= ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Lte(final Set udtSet) {
        boundValues.add(udtSet);
        encodedValues.add(meta.udtSet.encodeFromJava(udtSet, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.lte("udtset", QueryBuilder.bindMarker("udtset")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an  ... IF udtSet != ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E NotEq(final Set udtSet) {
        boundValues.add(udtSet);
        encodedValues.add(meta.udtSet.encodeFromJava(udtSet, Optional.of(cassandraOptions)));
        where.onlyIf(NotEq.of("udtset", QueryBuilder.bindMarker("udtset")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }
    }

    public final class If_UdtMapKey {
      /**
       * Generate an ... IF udtMapKey = ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Eq(final Map udtMapKey) {
        boundValues.add(udtMapKey);
        encodedValues.add(meta.udtMapKey.encodeFromJava(udtMapKey, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.eq("udtmapkey", QueryBuilder.bindMarker("udtmapkey")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an ... IF udtMapKey > ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Gt(final Map udtMapKey) {
        boundValues.add(udtMapKey);
        encodedValues.add(meta.udtMapKey.encodeFromJava(udtMapKey, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.gt("udtmapkey", QueryBuilder.bindMarker("udtmapkey")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an ... IF udtMapKey >= ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Gte(final Map udtMapKey) {
        boundValues.add(udtMapKey);
        encodedValues.add(meta.udtMapKey.encodeFromJava(udtMapKey, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.gte("udtmapkey", QueryBuilder.bindMarker("udtmapkey")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an ... IF udtMapKey < ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Lt(final Map udtMapKey) {
        boundValues.add(udtMapKey);
        encodedValues.add(meta.udtMapKey.encodeFromJava(udtMapKey, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.lt("udtmapkey", QueryBuilder.bindMarker("udtmapkey")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an ... IF udtMapKey <= ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Lte(final Map udtMapKey) {
        boundValues.add(udtMapKey);
        encodedValues.add(meta.udtMapKey.encodeFromJava(udtMapKey, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.lte("udtmapkey", QueryBuilder.bindMarker("udtmapkey")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an  ... IF udtMapKey != ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E NotEq(final Map udtMapKey) {
        boundValues.add(udtMapKey);
        encodedValues.add(meta.udtMapKey.encodeFromJava(udtMapKey, Optional.of(cassandraOptions)));
        where.onlyIf(NotEq.of("udtmapkey", QueryBuilder.bindMarker("udtmapkey")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }
    }

    public final class If_UdtMapValue {
      /**
       * Generate an ... IF udtMapValue = ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Eq(final Map udtMapValue) {
        boundValues.add(udtMapValue);
        encodedValues.add(meta.udtMapValue.encodeFromJava(udtMapValue, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.eq("udtmapvalue", QueryBuilder.bindMarker("udtmapvalue")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an ... IF udtMapValue > ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Gt(final Map udtMapValue) {
        boundValues.add(udtMapValue);
        encodedValues.add(meta.udtMapValue.encodeFromJava(udtMapValue, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.gt("udtmapvalue", QueryBuilder.bindMarker("udtmapvalue")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an ... IF udtMapValue >= ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Gte(final Map udtMapValue) {
        boundValues.add(udtMapValue);
        encodedValues.add(meta.udtMapValue.encodeFromJava(udtMapValue, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.gte("udtmapvalue", QueryBuilder.bindMarker("udtmapvalue")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an ... IF udtMapValue < ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Lt(final Map udtMapValue) {
        boundValues.add(udtMapValue);
        encodedValues.add(meta.udtMapValue.encodeFromJava(udtMapValue, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.lt("udtmapvalue", QueryBuilder.bindMarker("udtmapvalue")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an ... IF udtMapValue <= ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E Lte(final Map udtMapValue) {
        boundValues.add(udtMapValue);
        encodedValues.add(meta.udtMapValue.encodeFromJava(udtMapValue, Optional.of(cassandraOptions)));
        where.onlyIf(QueryBuilder.lte("udtmapvalue", QueryBuilder.bindMarker("udtmapvalue")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }

      /**
       * Generate an  ... IF udtMapValue != ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Delete.E NotEq(final Map udtMapValue) {
        boundValues.add(udtMapValue);
        encodedValues.add(meta.udtMapValue.encodeFromJava(udtMapValue, Optional.of(cassandraOptions)));
        where.onlyIf(NotEq.of("udtmapvalue", QueryBuilder.bindMarker("udtmapvalue")));
        return EntityWithUDTForDynamicKeyspace_Delete.E.this;
      }
    }
  }
}