String thriftColumnValue = new Long(column.getValue()).toString(); populateViaThrift(m, entity, entityType, relationNames, relations, thriftColumnName, thriftColumnValue, isCql3Enabled);
String thriftColumnValue = new Long(column.getValue()).toString(); PropertyAccessorHelper.set(embeddedObject, superColumnFieldMap.get(thriftColumnName), thriftColumnValue);
@Override public long getLongValue() { return this.column.getValue(); }
@Override public long getLongValue() { return this.column.getValue(); }
CounterColumn cc = cols.get(i); gotlist.add(cc.name.duplicate()); assertEquals(getValueFromName(ss.fromByteBuffer(cc.name.duplicate())), cc.getValue());
public Object getFieldValue(_Fields field) { switch (field) { case NAME: return getName(); case VALUE: return Long.valueOf(getValue()); } throw new IllegalStateException(); }
public Object getFieldValue(_Fields field) { switch (field) { case NAME: return getName(); case VALUE: return Long.valueOf(getValue()); } throw new IllegalStateException(); }
public Object getFieldValue(_Fields field) { switch (field) { case NAME: return getName(); case VALUE: return Long.valueOf(getValue()); } throw new IllegalStateException(); }
/** * On counter column. * * @param column * the column * @param m * the m * @param entity * the entity * @param entityType * the entity type * @param relationNames * the relation names * @param isWrapReq * the is wrap req * @param relations * the relations * @throws IllegalAccessException * @throws InstantiationException */ private void onCounterColumn(CounterColumn column, EntityMetadata m, Object entity, EntityType entityType, List<String> relationNames, boolean isWrapReq, Map<String, Object> relations, boolean isCql3Enabled) throws InstantiationException, IllegalAccessException { String thriftColumnName = PropertyAccessorFactory.STRING.fromBytes(String.class, column.getName()); String thriftColumnValue = new Long(column.getValue()).toString(); populateViaThrift(m, entity, entityType, relationNames, relations, thriftColumnName, thriftColumnValue, isCql3Enabled); }
String thriftColumnValue = new Long(column.getValue()).toString(); PropertyAccessorHelper.set(embeddedObject, superColumnFieldMap.get(thriftColumnName), thriftColumnValue);
logger.trace(" {} += ({})", Utils.deWhite(counterCol.getName()), counterCol.getValue()); } else if (cosc.isSetColumn()) {