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

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

The newest version!
package info.archinnov.achilles.generated.dsl;

import com.datastax.driver.core.querybuilder.NonEscapingSetAssignment;
import com.datastax.driver.core.querybuilder.NotEq;
import com.datastax.driver.core.querybuilder.QueryBuilder;
import com.datastax.driver.core.querybuilder.Update;
import com.google.common.collect.Sets;
import info.archinnov.achilles.generated.meta.entity.EntityWithUDTForDynamicKeyspace_AchillesMeta;
import info.archinnov.achilles.internals.dsl.query.update.AbstractUpdate;
import info.archinnov.achilles.internals.dsl.query.update.AbstractUpdateColumns;
import info.archinnov.achilles.internals.dsl.query.update.AbstractUpdateEnd;
import info.archinnov.achilles.internals.dsl.query.update.AbstractUpdateFrom;
import info.archinnov.achilles.internals.dsl.query.update.AbstractUpdateWhere;
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_Update extends AbstractUpdate {
  protected final EntityWithUDTForDynamicKeyspace_AchillesMeta meta;

  protected final Class entityClass = EntityWithUDTForDynamicKeyspace.class;

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

  /**
   * Generate an UPDATE FROM ... */
  public final EntityWithUDTForDynamicKeyspace_Update.F fromBaseTable() {
    final String currentKeyspace = meta.getKeyspace().orElse("unknown_keyspace_for_" + meta.entityClass.getCanonicalName());
    final Update.Where where = QueryBuilder.update(currentKeyspace, meta.getTableOrViewName()).where();
    return new EntityWithUDTForDynamicKeyspace_Update.F(where, new CassandraOptions());
  }

  /**
   * Generate an UPDATE FROM ... using the given SchemaNameProvider */
  public final EntityWithUDTForDynamicKeyspace_Update.F from(final SchemaNameProvider schemaNameProvider) {
    final String currentKeyspace = lookupKeyspace(schemaNameProvider, meta.entityClass);
    final String currentTable = lookupTable(schemaNameProvider, meta.entityClass);
    final Update.Where where = QueryBuilder.update(currentKeyspace, currentTable).where();
    return new EntityWithUDTForDynamicKeyspace_Update.F(where, CassandraOptions.withSchemaNameProvider(schemaNameProvider));
  }

  public class Cols extends AbstractUpdateColumns {
    Cols(Update.Where where, CassandraOptions cassandraOptions) {
      super(where, cassandraOptions);
    }

    public final Cols.Udt udt() {
      return new Cols.Udt();
    }

    public final Cols.UdtList udtList() {
      return new Cols.UdtList();
    }

    public final Cols.UdtSet udtSet() {
      return new Cols.UdtSet();
    }

    public final Cols.UdtMapKey udtMapKey() {
      return new Cols.UdtMapKey();
    }

    public final Cols.UdtMapValue udtMapValue() {
      return new Cols.UdtMapValue();
    }

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

    public final class Udt {
      /**
       * Generate an UPDATE FROM ... SET udt = ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols Set(final UDTWithNoKeyspace udt) {
        where.with(NonEscapingSetAssignment.of("udt", QueryBuilder.bindMarker("udt")));
        boundValues.add(udt);
        encodedValues.add(meta.udt.encodeFromJava(udt, Optional.of(cassandraOptions)));
        return EntityWithUDTForDynamicKeyspace_Update.Cols.this;
      }
    }

    public final class UdtList {
      /**
       * Generate an UPDATE FROM ... SET udtlist = udtlist + [?] */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols AppendTo(final UDTWithNoKeyspace udtList_element) {
        where.with(QueryBuilder.appendAll("udtlist", QueryBuilder.bindMarker("udtlist")));
        boundValues.add(Arrays.asList(udtList_element));
        encodedValues.add(meta.udtList.encodeFromJava(Arrays.asList(udtList_element), Optional.of(cassandraOptions)));
        return EntityWithUDTForDynamicKeyspace_Update.Cols.this;
      }

      /**
       * Generate an UPDATE FROM ... SET udtList = udtList + ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols AppendAllTo(final List udtList_element) {
        where.with(QueryBuilder.appendAll("udtlist", QueryBuilder.bindMarker("udtlist")));
        boundValues.add(udtList_element);
        encodedValues.add(meta.udtList.encodeFromJava(udtList_element, Optional.of(cassandraOptions)));
        return EntityWithUDTForDynamicKeyspace_Update.Cols.this;
      }

      /**
       * Generate an UPDATE FROM ... SET udtList = [?] + udtList */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols PrependTo(final UDTWithNoKeyspace udtList_element) {
        where.with(QueryBuilder.prependAll("udtlist", QueryBuilder.bindMarker("udtlist")));
        boundValues.add(Arrays.asList(udtList_element));
        encodedValues.add(meta.udtList.encodeFromJava(Arrays.asList(udtList_element), Optional.of(cassandraOptions)));
        return EntityWithUDTForDynamicKeyspace_Update.Cols.this;
      }

      /**
       * Generate an UPDATE FROM ... SET udtList = ? + udtList */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols PrependAllTo(final List udtList_element) {
        where.with(QueryBuilder.prependAll("udtlist", QueryBuilder.bindMarker("udtlist")));
        boundValues.add(udtList_element);
        encodedValues.add(meta.udtList.encodeFromJava(udtList_element, Optional.of(cassandraOptions)));
        return EntityWithUDTForDynamicKeyspace_Update.Cols.this;
      }

      /**
       * Generate an UPDATE FROM ... SET udtList[index] = ? */
      public final EntityWithUDTForDynamicKeyspace_Update.Cols SetAtIndex(final int index, final UDTWithNoKeyspace udtList_element) {
        where.with(QueryBuilder.setIdx("udtlist", index, QueryBuilder.bindMarker("udtlist")));
        boundValues.add(udtList_element);
        encodedValues.add(meta.udtList.valueProperty.encodeFromJava(udtList_element, Optional.of(cassandraOptions)));
        return EntityWithUDTForDynamicKeyspace_Update.Cols.this;
      }

      /**
       * Generate an UPDATE FROM ... SET udtList[index] = null */
      public final EntityWithUDTForDynamicKeyspace_Update.Cols RemoveAtIndex(final int index) {
        where.with(QueryBuilder.setIdx("udtlist", index, QueryBuilder.bindMarker("udtlist")));
        boundValues.add(null);
        encodedValues.add(null);
        return EntityWithUDTForDynamicKeyspace_Update.Cols.this;
      }

      /**
       * Generate an UPDATE FROM ... SET udtList = udtList - [?] */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols RemoveFrom(final UDTWithNoKeyspace udtList_element) {
        where.with(QueryBuilder.discardAll("udtlist", QueryBuilder.bindMarker("udtlist")));
        boundValues.add(Arrays.asList(udtList_element));
        encodedValues.add(meta.udtList.encodeFromJava(Arrays.asList(udtList_element), Optional.of(cassandraOptions)));
        return EntityWithUDTForDynamicKeyspace_Update.Cols.this;
      }

      /**
       * Generate an UPDATE FROM ... SET udtList = udtList - ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols RemoveAllFrom(final List udtList_element) {
        where.with(QueryBuilder.discardAll("udtlist", QueryBuilder.bindMarker("udtlist")));
        boundValues.add(udtList_element);
        encodedValues.add(meta.udtList.encodeFromJava(udtList_element, Optional.of(cassandraOptions)));
        return EntityWithUDTForDynamicKeyspace_Update.Cols.this;
      }

      /**
       * Generate an UPDATE FROM ... SET udtList = ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols Set(final List udtList_element) {
        where.with(NonEscapingSetAssignment.of("udtlist", QueryBuilder.bindMarker("udtlist")));
        boundValues.add(udtList_element);
        encodedValues.add(meta.udtList.encodeFromJava(udtList_element, Optional.of(cassandraOptions)));
        return EntityWithUDTForDynamicKeyspace_Update.Cols.this;
      }
    }

    public final class UdtSet {
      /**
       * Generate an UPDATE FROM ... SET udtset = udtset + {?} */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols AddTo(final UDTWithNoKeyspace udtSet_element) {
        where.with(QueryBuilder.addAll("udtset", QueryBuilder.bindMarker("udtset")));
        boundValues.add(Sets.newHashSet(udtSet_element));
        encodedValues.add(meta.udtSet.encodeFromJava(Sets.newHashSet(udtSet_element), Optional.of(cassandraOptions)));
        return EntityWithUDTForDynamicKeyspace_Update.Cols.this;
      }

      /**
       * Generate an UPDATE FROM ... SET udtSet = udtSet + ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols AddAllTo(final Set udtSet_element) {
        where.with(QueryBuilder.addAll("udtset", QueryBuilder.bindMarker("udtset")));
        boundValues.add(udtSet_element);
        encodedValues.add(meta.udtSet.encodeFromJava(udtSet_element, Optional.of(cassandraOptions)));
        return EntityWithUDTForDynamicKeyspace_Update.Cols.this;
      }

      /**
       * Generate an UPDATE FROM ... SET udtSet = udtSet - {?} */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols RemoveFrom(final UDTWithNoKeyspace udtSet_element) {
        where.with(QueryBuilder.removeAll("udtset", QueryBuilder.bindMarker("udtset")));
        boundValues.add(Sets.newHashSet(udtSet_element));
        encodedValues.add(meta.udtSet.encodeFromJava(Sets.newHashSet(udtSet_element), Optional.of(cassandraOptions)));
        return EntityWithUDTForDynamicKeyspace_Update.Cols.this;
      }

      /**
       * Generate an UPDATE FROM ... SET udtSet = udtSet - ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols RemoveAllFrom(final Set udtSet_element) {
        where.with(QueryBuilder.removeAll("udtset", QueryBuilder.bindMarker("udtset")));
        boundValues.add(udtSet_element);
        encodedValues.add(meta.udtSet.encodeFromJava(udtSet_element, Optional.of(cassandraOptions)));
        return EntityWithUDTForDynamicKeyspace_Update.Cols.this;
      }

      /**
       * Generate an UPDATE FROM ... SET udtSet = ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols Set(final Set udtSet_element) {
        where.with(NonEscapingSetAssignment.of("udtset", QueryBuilder.bindMarker("udtset")));
        boundValues.add(udtSet_element);
        encodedValues.add(meta.udtSet.encodeFromJava(udtSet_element, Optional.of(cassandraOptions)));
        return EntityWithUDTForDynamicKeyspace_Update.Cols.this;
      }
    }

    public final class UdtMapKey {
      /**
       * Generate an UPDATE FROM ... SET udtmapkey[?] = ? */
      public final EntityWithUDTForDynamicKeyspace_Update.Cols PutTo(final UDTWithNoKeyspace udtMapKey_key, final String udtMapKey_value) {
        where.with(QueryBuilder.put("udtmapkey", QueryBuilder.bindMarker("udtMapKey_key"), QueryBuilder.bindMarker("udtMapKey_value")));
        boundValues.add(udtMapKey_key);
        boundValues.add(udtMapKey_value);
        encodedValues.add(meta.udtMapKey.keyProperty.encodeFromJava(udtMapKey_key, Optional.of(cassandraOptions)));
        encodedValues.add(meta.udtMapKey.valueProperty.encodeFromJava(udtMapKey_value, Optional.of(cassandraOptions)));
        return EntityWithUDTForDynamicKeyspace_Update.Cols.this;
      }

      /**
       * Generate an UPDATE FROM ... SET udtMapKey = udtMapKey + ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols AddAllTo(final Map udtMapKey) {
        where.with(QueryBuilder.addAll("udtmapkey", QueryBuilder.bindMarker("udtmapkey")));
        boundValues.add(udtMapKey);
        encodedValues.add(meta.udtMapKey.encodeFromJava(udtMapKey, Optional.of(cassandraOptions)));
        return EntityWithUDTForDynamicKeyspace_Update.Cols.this;
      }

      /**
       * Generate an UPDATE FROM ... SET udtMapKey[?] = null */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols RemoveByKey(final UDTWithNoKeyspace udtMapKey_key) {
        where.with(QueryBuilder.put("udtmapkey", QueryBuilder.bindMarker("udtMapKey_key"), QueryBuilder.bindMarker("udtMapKey_value")));
        boundValues.add(udtMapKey_key);
        boundValues.add(null);
        encodedValues.add(meta.udtMapKey.keyProperty.encodeFromJava(udtMapKey_key, Optional.of(cassandraOptions)));
        encodedValues.add(null);
        return EntityWithUDTForDynamicKeyspace_Update.Cols.this;
      }

      /**
       * Generate an UPDATE FROM ... SET udtMapKey = ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols Set(final Map udtMapKey) {
        where.with(NonEscapingSetAssignment.of("udtmapkey", QueryBuilder.bindMarker("udtmapkey")));
        boundValues.add(udtMapKey);
        encodedValues.add(meta.udtMapKey.encodeFromJava(udtMapKey, Optional.of(cassandraOptions)));
        return EntityWithUDTForDynamicKeyspace_Update.Cols.this;
      }
    }

    public final class UdtMapValue {
      /**
       * Generate an UPDATE FROM ... SET udtmapvalue[?] = ? */
      public final EntityWithUDTForDynamicKeyspace_Update.Cols PutTo(final Integer udtMapValue_key, final UDTWithNoKeyspace udtMapValue_value) {
        where.with(QueryBuilder.put("udtmapvalue", QueryBuilder.bindMarker("udtMapValue_key"), QueryBuilder.bindMarker("udtMapValue_value")));
        boundValues.add(udtMapValue_key);
        boundValues.add(udtMapValue_value);
        encodedValues.add(meta.udtMapValue.keyProperty.encodeFromJava(udtMapValue_key, Optional.of(cassandraOptions)));
        encodedValues.add(meta.udtMapValue.valueProperty.encodeFromJava(udtMapValue_value, Optional.of(cassandraOptions)));
        return EntityWithUDTForDynamicKeyspace_Update.Cols.this;
      }

      /**
       * Generate an UPDATE FROM ... SET udtMapValue = udtMapValue + ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols AddAllTo(final Map udtMapValue) {
        where.with(QueryBuilder.addAll("udtmapvalue", QueryBuilder.bindMarker("udtmapvalue")));
        boundValues.add(udtMapValue);
        encodedValues.add(meta.udtMapValue.encodeFromJava(udtMapValue, Optional.of(cassandraOptions)));
        return EntityWithUDTForDynamicKeyspace_Update.Cols.this;
      }

      /**
       * Generate an UPDATE FROM ... SET udtMapValue[?] = null */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols RemoveByKey(final Integer udtMapValue_key) {
        where.with(QueryBuilder.put("udtmapvalue", QueryBuilder.bindMarker("udtMapValue_key"), QueryBuilder.bindMarker("udtMapValue_value")));
        boundValues.add(udtMapValue_key);
        boundValues.add(null);
        encodedValues.add(meta.udtMapValue.keyProperty.encodeFromJava(udtMapValue_key, Optional.of(cassandraOptions)));
        encodedValues.add(null);
        return EntityWithUDTForDynamicKeyspace_Update.Cols.this;
      }

      /**
       * Generate an UPDATE FROM ... SET udtMapValue = ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols Set(final Map udtMapValue) {
        where.with(NonEscapingSetAssignment.of("udtmapvalue", QueryBuilder.bindMarker("udtmapvalue")));
        boundValues.add(udtMapValue);
        encodedValues.add(meta.udtMapValue.encodeFromJava(udtMapValue, Optional.of(cassandraOptions)));
        return EntityWithUDTForDynamicKeyspace_Update.Cols.this;
      }
    }
  }

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

    public final F.Udt udt() {
      return new F.Udt();
    }

    public final F.UdtList udtList() {
      return new F.UdtList();
    }

    public final F.UdtSet udtSet() {
      return new F.UdtSet();
    }

    public final F.UdtMapKey udtMapKey() {
      return new F.UdtMapKey();
    }

    public final F.UdtMapValue udtMapValue() {
      return new F.UdtMapValue();
    }

    public final class Udt {
      /**
       * Generate an UPDATE FROM ... SET udt = ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols Set(final UDTWithNoKeyspace udt) {
        where.with(NonEscapingSetAssignment.of("udt", QueryBuilder.bindMarker("udt")));
        boundValues.add(udt);
        encodedValues.add(meta.udt.encodeFromJava(udt, Optional.of(cassandraOptions)));
        return new EntityWithUDTForDynamicKeyspace_Update.Cols(where, cassandraOptions);
      }
    }

    public final class UdtList {
      /**
       * Generate an UPDATE FROM ... SET udtlist = udtlist + [?] */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols AppendTo(final UDTWithNoKeyspace udtList_element) {
        where.with(QueryBuilder.appendAll("udtlist", QueryBuilder.bindMarker("udtlist")));
        boundValues.add(Arrays.asList(udtList_element));
        encodedValues.add(meta.udtList.encodeFromJava(Arrays.asList(udtList_element), Optional.of(cassandraOptions)));
        return new EntityWithUDTForDynamicKeyspace_Update.Cols(where, cassandraOptions);
      }

      /**
       * Generate an UPDATE FROM ... SET udtList = udtList + ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols AppendAllTo(final List udtList_element) {
        where.with(QueryBuilder.appendAll("udtlist", QueryBuilder.bindMarker("udtlist")));
        boundValues.add(udtList_element);
        encodedValues.add(meta.udtList.encodeFromJava(udtList_element, Optional.of(cassandraOptions)));
        return new EntityWithUDTForDynamicKeyspace_Update.Cols(where, cassandraOptions);
      }

      /**
       * Generate an UPDATE FROM ... SET udtList = [?] + udtList */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols PrependTo(final UDTWithNoKeyspace udtList_element) {
        where.with(QueryBuilder.prependAll("udtlist", QueryBuilder.bindMarker("udtlist")));
        boundValues.add(Arrays.asList(udtList_element));
        encodedValues.add(meta.udtList.encodeFromJava(Arrays.asList(udtList_element), Optional.of(cassandraOptions)));
        return new EntityWithUDTForDynamicKeyspace_Update.Cols(where, cassandraOptions);
      }

      /**
       * Generate an UPDATE FROM ... SET udtList = ? + udtList */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols PrependAllTo(final List udtList_element) {
        where.with(QueryBuilder.prependAll("udtlist", QueryBuilder.bindMarker("udtlist")));
        boundValues.add(udtList_element);
        encodedValues.add(meta.udtList.encodeFromJava(udtList_element, Optional.of(cassandraOptions)));
        return new EntityWithUDTForDynamicKeyspace_Update.Cols(where, cassandraOptions);
      }

      /**
       * Generate an UPDATE FROM ... SET udtList[index] = ? */
      public final EntityWithUDTForDynamicKeyspace_Update.Cols SetAtIndex(final int index, final UDTWithNoKeyspace udtList_element) {
        where.with(QueryBuilder.setIdx("udtlist", index, QueryBuilder.bindMarker("udtlist")));
        boundValues.add(udtList_element);
        encodedValues.add(meta.udtList.valueProperty.encodeFromJava(udtList_element, Optional.of(cassandraOptions)));
        return new EntityWithUDTForDynamicKeyspace_Update.Cols(where, cassandraOptions);
      }

      /**
       * Generate an UPDATE FROM ... SET udtList[index] = null */
      public final EntityWithUDTForDynamicKeyspace_Update.Cols RemoveAtIndex(final int index) {
        where.with(QueryBuilder.setIdx("udtlist", index, QueryBuilder.bindMarker("udtlist")));
        boundValues.add(null);
        encodedValues.add(null);
        return new EntityWithUDTForDynamicKeyspace_Update.Cols(where, cassandraOptions);
      }

      /**
       * Generate an UPDATE FROM ... SET udtList = udtList - [?] */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols RemoveFrom(final UDTWithNoKeyspace udtList_element) {
        where.with(QueryBuilder.discardAll("udtlist", QueryBuilder.bindMarker("udtlist")));
        boundValues.add(Arrays.asList(udtList_element));
        encodedValues.add(meta.udtList.encodeFromJava(Arrays.asList(udtList_element), Optional.of(cassandraOptions)));
        return new EntityWithUDTForDynamicKeyspace_Update.Cols(where, cassandraOptions);
      }

      /**
       * Generate an UPDATE FROM ... SET udtList = udtList - ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols RemoveAllFrom(final List udtList_element) {
        where.with(QueryBuilder.discardAll("udtlist", QueryBuilder.bindMarker("udtlist")));
        boundValues.add(udtList_element);
        encodedValues.add(meta.udtList.encodeFromJava(udtList_element, Optional.of(cassandraOptions)));
        return new EntityWithUDTForDynamicKeyspace_Update.Cols(where, cassandraOptions);
      }

      /**
       * Generate an UPDATE FROM ... SET udtList = ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols Set(final List udtList_element) {
        where.with(NonEscapingSetAssignment.of("udtlist", QueryBuilder.bindMarker("udtlist")));
        boundValues.add(udtList_element);
        encodedValues.add(meta.udtList.encodeFromJava(udtList_element, Optional.of(cassandraOptions)));
        return new EntityWithUDTForDynamicKeyspace_Update.Cols(where, cassandraOptions);
      }
    }

    public final class UdtSet {
      /**
       * Generate an UPDATE FROM ... SET udtset = udtset + {?} */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols AddTo(final UDTWithNoKeyspace udtSet_element) {
        where.with(QueryBuilder.addAll("udtset", QueryBuilder.bindMarker("udtset")));
        boundValues.add(Sets.newHashSet(udtSet_element));
        encodedValues.add(meta.udtSet.encodeFromJava(Sets.newHashSet(udtSet_element), Optional.of(cassandraOptions)));
        return new EntityWithUDTForDynamicKeyspace_Update.Cols(where, cassandraOptions);
      }

      /**
       * Generate an UPDATE FROM ... SET udtSet = udtSet + ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols AddAllTo(final Set udtSet_element) {
        where.with(QueryBuilder.addAll("udtset", QueryBuilder.bindMarker("udtset")));
        boundValues.add(udtSet_element);
        encodedValues.add(meta.udtSet.encodeFromJava(udtSet_element, Optional.of(cassandraOptions)));
        return new EntityWithUDTForDynamicKeyspace_Update.Cols(where, cassandraOptions);
      }

      /**
       * Generate an UPDATE FROM ... SET udtSet = udtSet - {?} */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols RemoveFrom(final UDTWithNoKeyspace udtSet_element) {
        where.with(QueryBuilder.removeAll("udtset", QueryBuilder.bindMarker("udtset")));
        boundValues.add(Sets.newHashSet(udtSet_element));
        encodedValues.add(meta.udtSet.encodeFromJava(Sets.newHashSet(udtSet_element), Optional.of(cassandraOptions)));
        return new EntityWithUDTForDynamicKeyspace_Update.Cols(where, cassandraOptions);
      }

      /**
       * Generate an UPDATE FROM ... SET udtSet = udtSet - ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols RemoveAllFrom(final Set udtSet_element) {
        where.with(QueryBuilder.removeAll("udtset", QueryBuilder.bindMarker("udtset")));
        boundValues.add(udtSet_element);
        encodedValues.add(meta.udtSet.encodeFromJava(udtSet_element, Optional.of(cassandraOptions)));
        return new EntityWithUDTForDynamicKeyspace_Update.Cols(where, cassandraOptions);
      }

      /**
       * Generate an UPDATE FROM ... SET udtSet = ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols Set(final Set udtSet_element) {
        where.with(NonEscapingSetAssignment.of("udtset", QueryBuilder.bindMarker("udtset")));
        boundValues.add(udtSet_element);
        encodedValues.add(meta.udtSet.encodeFromJava(udtSet_element, Optional.of(cassandraOptions)));
        return new EntityWithUDTForDynamicKeyspace_Update.Cols(where, cassandraOptions);
      }
    }

    public final class UdtMapKey {
      /**
       * Generate an UPDATE FROM ... SET udtmapkey[?] = ? */
      public final EntityWithUDTForDynamicKeyspace_Update.Cols PutTo(final UDTWithNoKeyspace udtMapKey_key, final String udtMapKey_value) {
        where.with(QueryBuilder.put("udtmapkey", QueryBuilder.bindMarker("udtMapKey_key"), QueryBuilder.bindMarker("udtMapKey_value")));
        boundValues.add(udtMapKey_key);
        boundValues.add(udtMapKey_value);
        encodedValues.add(meta.udtMapKey.keyProperty.encodeFromJava(udtMapKey_key, Optional.of(cassandraOptions)));
        encodedValues.add(meta.udtMapKey.valueProperty.encodeFromJava(udtMapKey_value, Optional.of(cassandraOptions)));
        return new EntityWithUDTForDynamicKeyspace_Update.Cols(where, cassandraOptions);
      }

      /**
       * Generate an UPDATE FROM ... SET udtMapKey = udtMapKey + ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols AddAllTo(final Map udtMapKey) {
        where.with(QueryBuilder.addAll("udtmapkey", QueryBuilder.bindMarker("udtmapkey")));
        boundValues.add(udtMapKey);
        encodedValues.add(meta.udtMapKey.encodeFromJava(udtMapKey, Optional.of(cassandraOptions)));
        return new EntityWithUDTForDynamicKeyspace_Update.Cols(where, cassandraOptions);
      }

      /**
       * Generate an UPDATE FROM ... SET udtMapKey[?] = null */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols RemoveByKey(final UDTWithNoKeyspace udtMapKey_key) {
        where.with(QueryBuilder.put("udtmapkey", QueryBuilder.bindMarker("udtMapKey_key"), QueryBuilder.bindMarker("udtMapKey_value")));
        boundValues.add(udtMapKey_key);
        boundValues.add(null);
        encodedValues.add(meta.udtMapKey.keyProperty.encodeFromJava(udtMapKey_key, Optional.of(cassandraOptions)));
        encodedValues.add(null);
        return new EntityWithUDTForDynamicKeyspace_Update.Cols(where, cassandraOptions);
      }

      /**
       * Generate an UPDATE FROM ... SET udtMapKey = ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols Set(final Map udtMapKey) {
        where.with(NonEscapingSetAssignment.of("udtmapkey", QueryBuilder.bindMarker("udtmapkey")));
        boundValues.add(udtMapKey);
        encodedValues.add(meta.udtMapKey.encodeFromJava(udtMapKey, Optional.of(cassandraOptions)));
        return new EntityWithUDTForDynamicKeyspace_Update.Cols(where, cassandraOptions);
      }
    }

    public final class UdtMapValue {
      /**
       * Generate an UPDATE FROM ... SET udtmapvalue[?] = ? */
      public final EntityWithUDTForDynamicKeyspace_Update.Cols PutTo(final Integer udtMapValue_key, final UDTWithNoKeyspace udtMapValue_value) {
        where.with(QueryBuilder.put("udtmapvalue", QueryBuilder.bindMarker("udtMapValue_key"), QueryBuilder.bindMarker("udtMapValue_value")));
        boundValues.add(udtMapValue_key);
        boundValues.add(udtMapValue_value);
        encodedValues.add(meta.udtMapValue.keyProperty.encodeFromJava(udtMapValue_key, Optional.of(cassandraOptions)));
        encodedValues.add(meta.udtMapValue.valueProperty.encodeFromJava(udtMapValue_value, Optional.of(cassandraOptions)));
        return new EntityWithUDTForDynamicKeyspace_Update.Cols(where, cassandraOptions);
      }

      /**
       * Generate an UPDATE FROM ... SET udtMapValue = udtMapValue + ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols AddAllTo(final Map udtMapValue) {
        where.with(QueryBuilder.addAll("udtmapvalue", QueryBuilder.bindMarker("udtmapvalue")));
        boundValues.add(udtMapValue);
        encodedValues.add(meta.udtMapValue.encodeFromJava(udtMapValue, Optional.of(cassandraOptions)));
        return new EntityWithUDTForDynamicKeyspace_Update.Cols(where, cassandraOptions);
      }

      /**
       * Generate an UPDATE FROM ... SET udtMapValue[?] = null */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols RemoveByKey(final Integer udtMapValue_key) {
        where.with(QueryBuilder.put("udtmapvalue", QueryBuilder.bindMarker("udtMapValue_key"), QueryBuilder.bindMarker("udtMapValue_value")));
        boundValues.add(udtMapValue_key);
        boundValues.add(null);
        encodedValues.add(meta.udtMapValue.keyProperty.encodeFromJava(udtMapValue_key, Optional.of(cassandraOptions)));
        encodedValues.add(null);
        return new EntityWithUDTForDynamicKeyspace_Update.Cols(where, cassandraOptions);
      }

      /**
       * Generate an UPDATE FROM ... SET udtMapValue = ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.Cols Set(final Map udtMapValue) {
        where.with(NonEscapingSetAssignment.of("udtmapvalue", QueryBuilder.bindMarker("udtmapvalue")));
        boundValues.add(udtMapValue);
        encodedValues.add(meta.udtMapValue.encodeFromJava(udtMapValue, Optional.of(cassandraOptions)));
        return new EntityWithUDTForDynamicKeyspace_Update.Cols(where, cassandraOptions);
      }
    }
  }

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

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

    public final class Relation {
      /**
       * Generate a SELECT ... FROM ... WHERE ... id = ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.W_Clust(where, cassandraOptions);
      }

      /**
       * Generate a SELECT ... FROM ... WHERE ... id IN ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.W_Clust(where, cassandraOptions);
      }
    }
  }

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

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

    public final class Relation {
      /**
       * Generate a SELECT ... FROM ... WHERE ... clust = ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E(where, cassandraOptions);
      }
    }
  }

  public final class E extends AbstractUpdateEnd {
    public E(Update.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_Update.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_Update.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_Update.E.this;
      }

      /**
       * Generate an ... IF udt > ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an ... IF udt >= ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an ... IF udt < ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an ... IF udt <= ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an  ... IF udt != ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }
    }

    public final class If_UdtList {
      /**
       * Generate an ... IF udtList = ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an ... IF udtList > ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an ... IF udtList >= ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an ... IF udtList < ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an ... IF udtList <= ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an  ... IF udtList != ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }
    }

    public final class If_UdtSet {
      /**
       * Generate an ... IF udtSet = ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an ... IF udtSet > ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an ... IF udtSet >= ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an ... IF udtSet < ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an ... IF udtSet <= ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an  ... IF udtSet != ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }
    }

    public final class If_UdtMapKey {
      /**
       * Generate an ... IF udtMapKey = ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an ... IF udtMapKey > ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an ... IF udtMapKey >= ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an ... IF udtMapKey < ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an ... IF udtMapKey <= ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an  ... IF udtMapKey != ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }
    }

    public final class If_UdtMapValue {
      /**
       * Generate an ... IF udtMapValue = ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an ... IF udtMapValue > ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an ... IF udtMapValue >= ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an ... IF udtMapValue < ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an ... IF udtMapValue <= ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }

      /**
       * Generate an  ... IF udtMapValue != ? */
      @SuppressWarnings("static-access")
      public final EntityWithUDTForDynamicKeyspace_Update.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_Update.E.this;
      }
    }
  }
}