protected String getColumnName() { return String.format("%s.%s", factory.getColumnName(), type.fieldName(field)); }
protected String getColumnName() { return String.format("%s.%s", factory.getColumnName(), type.fieldName(field)); }
protected String getColumnName() { return String.format("%s.%s", factory.getColumnName(), type.fieldName(field)); }
/** * Returns the column specification corresponding to the output value of the selector instances created by * this factory. * * @param cfm the column family meta data * @return a column specification */ public final ColumnSpecification getColumnSpecification(CFMetaData cfm) { return new ColumnSpecification(cfm.ksName, cfm.cfName, new ColumnIdentifier(getColumnName(), true), // note that the name is not necessarily // a true column name so we shouldn't intern it getReturnType()); }
/** * Returns the column specification corresponding to the output value of the selector instances created by * this factory. * * @param cfm the column family meta data * @return a column specification */ public final ColumnSpecification getColumnSpecification(CFMetaData cfm) { return new ColumnSpecification(cfm.ksName, cfm.cfName, new ColumnIdentifier(getColumnName(), true), // note that the name is not necessarily // a true column name so we shouldn't intern it getReturnType()); }
/** * Returns the column specification corresponding to the output value of the selector instances created by * this factory. * * @param cfm the column family meta data * @return a column specification */ public final ColumnSpecification getColumnSpecification(CFMetaData cfm) { return new ColumnSpecification(cfm.ksName, cfm.cfName, new ColumnIdentifier(getColumnName(), true), // note that the name is not necessarily // a true column name so we shouldn't intern it getReturnType()); }
/** * Returns the name of the column corresponding to the output value of the selector instances created by * this factory that is safe to use directly in CQL queries. * * @return a column name */ protected String getColumnNameCQL3() { return getColumnName(); }