code: private boolean buildWhereClause(StringBuilder builder, boolean isPresent, CQLTranslator translator,
          String condition, List<Object> value, boolean useInClause, AbstractAttribute idAttributeColumn,
          String columnName, boolean useToken) {
          if (value.isEmpty()) {
              isPresent = appendIn(builder, translator, columnName);
              builder.append("( )");
              builder.append(" AND ");
          }
          // handle relations in Id
          else if (useInClause && value.size() > 1) {
              isPresent = appendInClause(builder, translator, value, idAttributeColumn.getBindableJavaType(), columnName,
                  isPresent);
          } else {
              // TODO for partition key in case of embedded key.
              // idAttributeColumn.getBindableJavaType() was sending this class,
              // changed to getJavaType()
              translator.buildWhereClause(builder, ((Attribute) idAttributeColumn).getJavaType(), columnName,
                  value.isEmpty() ? null : value.get(0), condition, useToken);
          }
          return isPresent;
      }
docs: Builds the where clause.
  
  @param builder
  the builder
  @param isPresent
  the is present
  @param translator
  the translator
  @param condition
  the condition
  @param value
  the value
  @param useInClause
  the use in clause
  @param idAttributeColumn
  the id attribute column
  @param columnName
  the column name
  @param useToken
  the use token
  @return true, if successful