@Override public CQL3Type prepare(KeyspaceMetadata ksm, Types udts) throws InvalidRequestException { if (!frozen) freeze(); List<AbstractType<?>> ts = new ArrayList<>(types.size()); for (CQL3Type.Raw t : types) { if (t.isCounter()) throw new InvalidRequestException("Counters are not allowed inside tuples"); ts.add(t.prepare(ksm, udts).getType()); } return new Tuple(new TupleType(ts)); }
public static Raw tuple(List<CQL3Type.Raw> ts) { return new RawTuple(ts); }
public CQL3Type prepare(String keyspace) throws InvalidRequestException { if (!frozen) freeze(); List<AbstractType<?>> ts = new ArrayList<>(types.size()); for (CQL3Type.Raw t : types) { if (t.isCounter()) throw new InvalidRequestException("Counters are not allowed inside tuples"); ts.add(t.prepare(keyspace).getType()); } return new Tuple(new TupleType(ts)); }
public static Raw tuple(List<CQL3Type.Raw> ts) { return new RawTuple(ts); }
public CQL3Type prepare(String keyspace, Types udts) throws InvalidRequestException { if (!frozen) freeze(); List<AbstractType<?>> ts = new ArrayList<>(types.size()); for (CQL3Type.Raw t : types) { if (t.isCounter()) throw new InvalidRequestException("Counters are not allowed inside tuples"); ts.add(t.prepare(keyspace, udts).getType()); } return new Tuple(new TupleType(ts)); }
public CQL3Type prepare(String keyspace, Types udts) throws InvalidRequestException { if (!frozen) freeze(); List<AbstractType<?>> ts = new ArrayList<>(types.size()); for (CQL3Type.Raw t : types) { if (t.isCounter()) throw new InvalidRequestException("Counters are not allowed inside tuples"); ts.add(t.prepare(keyspace, udts).getType()); } return new Tuple(new TupleType(ts)); }
public static Raw tuple(List<CQL3Type.Raw> ts) { return new RawTuple(ts); }
public static Raw tuple(List<CQL3Type.Raw> ts) { return new RawTuple(ts); }
public CQL3Type prepare(String keyspace, Types udts) throws InvalidRequestException { if (!frozen) freeze(); List<AbstractType<?>> ts = new ArrayList<>(types.size()); for (CQL3Type.Raw t : types) { if (t.isCounter()) throw new InvalidRequestException("Counters are not allowed inside tuples"); ts.add(t.prepare(keyspace, udts).getType()); } return new Tuple(new TupleType(ts)); }
public static Raw tuple(List<CQL3Type.Raw> ts) { return new RawTuple(ts); }