@Override void modifyQueryString(BuiltStatement query) { if (query instanceof Insert) { ((Insert) query).using().and(QueryBuilder.timestamp(QueryBuilder.bindMarker())); } else if (query instanceof Delete) { ((Delete) query).using().and(QueryBuilder.timestamp(QueryBuilder.bindMarker())); } else { throw new AssertionError("Unexpected query type: " + query.getClass()); } }
/** * Adds a new options for this DELETE statement. * * @param using the option to add. * @return the options of this DELETE statement. */ public Options using(Using using) { return usings.and(using); }
/** * Adds a new options for this DELETE statement. * * @param using the option to add. * @return the options of this DELETE statement. */ public Options using(Using using) { return usings.and(using); }
/** * Adds a new options for this DELETE statement. * * @param using the option to add. * @return the options of this DELETE statement. */ public Options using(Using using) { return usings.and(using); }
/** * Adds a new options for this DELETE statement. * * @param using the option to add. * @return the options of this DELETE statement. */ public Options using(Using using) { return usings.and(using); }
/** * Adds a new options for this DELETE statement. * * @param using the option to add. * @return the options of this DELETE statement. */ public Options using(Using using) { return usings.and(using); }