for (CQL3Type type : CQL3Type.Native.values())
for (CQL3Type type : CQL3Type.Native.values())
for (CQL3Type type : CQL3Type.Native.values())
public static Collection<Function> all() { Collection<Function> functions = new ArrayList<>(); // because text and varchar ends up being synonymous, our automatic makeToBlobFunction doesn't work // for varchar, so we special case it below. We also skip blob for obvious reasons. for (CQL3Type type : CQL3Type.Native.values()) { if (type != CQL3Type.Native.VARCHAR && type != CQL3Type.Native.BLOB) { functions.add(makeToBlobFunction(type.getType())); functions.add(makeFromBlobFunction(type.getType())); } } functions.add(VarcharAsBlobFct); functions.add(BlobAsVarcharFct); return functions; }
public static Collection<Function> all() { Collection<Function> functions = new ArrayList<>(); // because text and varchar ends up being synonymous, our automatic makeToBlobFunction doesn't work // for varchar, so we special case it below. We also skip blob for obvious reasons. for (CQL3Type type : CQL3Type.Native.values()) { if (type != CQL3Type.Native.VARCHAR && type != CQL3Type.Native.BLOB) { functions.add(makeToBlobFunction(type.getType())); functions.add(makeFromBlobFunction(type.getType())); } } functions.add(VarcharAsBlobFct); functions.add(BlobAsVarcharFct); return functions; }
public static Collection<Function> all() { Collection<Function> functions = new ArrayList<>(); // because text and varchar ends up being synonymous, our automatic makeToBlobFunction doesn't work // for varchar, so we special case it below. We also skip blob for obvious reasons. for (CQL3Type type : CQL3Type.Native.values()) { if (type != CQL3Type.Native.VARCHAR && type != CQL3Type.Native.BLOB) { functions.add(makeToBlobFunction(type.getType())); functions.add(makeFromBlobFunction(type.getType())); } } functions.add(VarcharAsBlobFct); functions.add(BlobAsVarcharFct); return functions; }
public static Collection<Function> all() { Collection<Function> functions = new ArrayList<>(); // because text and varchar ends up being synonymous, our automatic makeToBlobFunction doesn't work // for varchar, so we special case it below. We also skip blob for obvious reasons. for (CQL3Type type : CQL3Type.Native.values()) { if (type != CQL3Type.Native.VARCHAR && type != CQL3Type.Native.BLOB) { functions.add(makeToBlobFunction(type.getType())); functions.add(makeFromBlobFunction(type.getType())); } } functions.add(VarcharAsBlobFct); functions.add(BlobAsVarcharFct); return functions; }