delete = delete().listElt("a", 3).mapElt("b", "foo").column("c").from("foo").where(eq("k", 1)); assertEquals(delete.toString(), query); .listElt("a", bindMarker()) .mapElt("b", bindMarker()) .column("c") .from("foo") .where(eq("k", 1)); delete().column("a").all().from("foo"); fail("Expected an IllegalStateException"); } catch (IllegalStateException e) {
.listElt("a", 3) .mapElt("b", "foo") .column("c") .from("foo") .where(eq("k", 1)))
/** * Generate DELETE <strong>value</strong> ... */ public final EntityWithByteBufferType_Delete.Cols value() { delete.column("value"); return new EntityWithByteBufferType_Delete.Cols(delete); }
/** * Generate DELETE <strong>value</strong> ... */ public final EntityAsChild_Delete.Cols value() { delete.column("value"); return new EntityAsChild_Delete.Cols(delete); }
/** * Generate DELETE <strong>doublelist</strong> ... */ public final EntityWithNativeCollections_Delete.Cols doubleList() { delete.column("doublelist"); return this; }
/** * Generate DELETE <strong>mapintlong</strong> ... */ public final EntityWithNativeCollections_Delete.Cols mapIntLong() { delete.column("mapintlong"); return new EntityWithNativeCollections_Delete.Cols(delete); }
/** * Generate DELETE <strong>jdkzoneddatetime</strong> ... */ public final EntityWithComplexTypes_Delete.Cols jdkZonedDateTime() { delete.column("jdkzoneddatetime"); return this; }
/** * Generate DELETE <strong>protocolversion</strong> ... */ public final EntityWithComplexTypes_Delete.Cols protocolVersion() { delete.column("protocolversion"); return this; }
/** * Generate DELETE <strong>value</strong> ... */ public final EntityWithMissingClustering_Delete.Cols value() { delete.column("value"); return this; }
/** * Generate DELETE <strong>udt</strong> ... */ public final EntityWithBeanValidation_Delete.Cols udt() { delete.column("udt"); return this; }
/** * Generate DELETE <strong>value</strong> ... */ public final EntityWithBeanValidation_Delete.Cols value() { delete.column("value"); return new EntityWithBeanValidation_Delete.Cols(delete); }
/** * Generate DELETE <strong>udt</strong> ... */ public final EntityWithCustomConstructorAndDeclaredFields_Delete.Cols udt() { delete.column("udt"); return this; }
/** * Generate DELETE <strong>udt</strong> ... */ public final EntityWithCustomConstructorAndDeclaredFields_Delete.Cols udt() { delete.column("udt"); return new EntityWithCustomConstructorAndDeclaredFields_Delete.Cols(delete); }
/** * Generate DELETE <strong>value</strong> ... */ public final EntityWithMissingStaticCol_Delete.Cols value() { delete.column("value"); return new EntityWithMissingStaticCol_Delete.Cols(delete); }
/** * Generate DELETE <strong>value</strong> ... */ public final EntityWithMissingPartitionKey_Delete.Cols value() { delete.column("value"); return this; }
/** * Generate DELETE <strong>count</strong> ... */ public final EntityWithComplexCounters_Delete.Cols simpleCounter() { delete.column("count"); return new EntityWithComplexCounters_Delete.Cols(delete); }
/** * Generate DELETE <strong>tuple</strong> ... */ public final EntityWithComplexTuple_Delete.Cols tuple() { delete.column("tuple"); return this; }
/** * Generate DELETE <strong>complexudt</strong> ... */ public final EntityWithNestedUDT_Delete.Cols complexUDT() { delete.column("complexudt"); return this; }
/** * Generate DELETE <strong>optionaludt</strong> ... */ public final EntityWithNestedUDT_Delete.Cols optionalUDT() { delete.column("optionaludt"); return new EntityWithNestedUDT_Delete.Cols(delete); }
/** * Generate DELETE <strong>name</strong> ... */ public final EntityWithCustomConstructor_Delete.Cols name() { delete.column("name"); return new EntityWithCustomConstructor_Delete.Cols(delete); }