File tree Expand file tree Collapse file tree
driver-mapping/src/test/java/com/datastax/driver/mapping Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -189,59 +189,6 @@ interface UserAccessor {
189189 ResultSet all ();
190190 }
191191
192- @ Table (name = "key_value" )
193- public static class KeyValue {
194- @ PartitionKey
195- private int key ;
196- private String v ;
197-
198- @ Computed (formula = "writetime(\" v\" )" )
199- long writeTime ;
200-
201- @ Computed (formula = "ttl(v)" )
202- Integer ttl ;
203-
204- public KeyValue () {
205- }
206-
207- public KeyValue (int k , String val ) {
208- this .key = k ;
209- this .v = val ;
210- }
211-
212- public int getKey () {
213- return this .key ;
214- }
215-
216- public void setKey (int pk ) {
217- this .key = pk ;
218- }
219-
220- public String getV () {
221- return this .v ;
222- }
223-
224- public void setV (String val ) {
225- this .v = val ;
226- }
227-
228- public long getWriteTime () {
229- return this .writeTime ;
230- }
231-
232- public void setWriteTime (long pk ) {
233- this .writeTime = pk ;
234- }
235-
236- public Integer getTtl () {
237- return this .ttl ;
238- }
239-
240- public void setTtl (Integer ttl ) {
241- this .ttl = ttl ;
242- }
243- }
244-
245192 @ Table (name = "user" )
246193 public static class User_WrongComputedType {
247194 @ PartitionKey
You can’t perform that action at this time.
0 commit comments