default public TestResult testAssignment(String keyspace, ColumnSpecification receiver) { AbstractType<?> type = getExactTypeIfKnown(keyspace); return type == null ? TestResult.NOT_ASSIGNABLE : type.testAssignment(keyspace, receiver); }
default public TestResult testAssignment(String keyspace, ColumnSpecification receiver) { AbstractType<?> type = getExactTypeIfKnown(keyspace); return type == null ? TestResult.NOT_ASSIGNABLE : type.testAssignment(keyspace, receiver); }
default public TestResult testAssignment(String keyspace, ColumnSpecification receiver) { AbstractType<?> type = getExactTypeIfKnown(keyspace); return type == null ? TestResult.NOT_ASSIGNABLE : type.testAssignment(keyspace, receiver); }
default public TestResult testAssignment(String keyspace, ColumnSpecification receiver) { AbstractType<?> type = getExactTypeIfKnown(keyspace); return type == null ? TestResult.NOT_ASSIGNABLE : type.testAssignment(keyspace, receiver); }
public AbstractType<?> getExactTypeIfKnown(String keyspace) { AbstractType<?> selectedType = selected.getExactTypeIfKnown(keyspace); if (selectedType == null || !(selectedType instanceof UserType)) return null; UserType ut = (UserType) selectedType; int fieldIndex = ut.fieldPosition(field); if (fieldIndex == -1) return null; return ut.fieldType(fieldIndex); }
public AbstractType<?> getExactTypeIfKnown(String keyspace) { AbstractType<?> selectedType = selected.getExactTypeIfKnown(keyspace); if (selectedType == null || !(selectedType instanceof UserType)) return null; UserType ut = (UserType) selectedType; int fieldIndex = ut.fieldPosition(field); if (fieldIndex == -1) return null; return ut.fieldType(fieldIndex); }
public AbstractType<?> getExactTypeIfKnown(String keyspace) { AbstractType<?> selectedType = selected.getExactTypeIfKnown(keyspace); if (selectedType == null || !(selectedType instanceof UserType)) return null; UserType ut = (UserType) selectedType; int fieldIndex = ut.fieldPosition(field); if (fieldIndex == -1) return null; return ut.fieldType(fieldIndex); }
Selectable selectArg = arg.prepare(cfm); preparedArgs.add(selectArg); preparedTypes.add(selectArg.getExactTypeIfKnown(cfm.ksName));