String collectionName = ((AbstractAttribute) column).getTableName() != null ? ((AbstractAttribute) column).getTableName() : tableName;
/** * Instantiates a new abstract attribute. * * @param attribType * the attrib type * @param attribName * the attrib name * @param persistenceAttribType * the persistence attrib type * @param managedType * the managed type * @param member * the member */ AbstractAttribute(Type<T> attribType, String attribName, javax.persistence.metamodel.Attribute.PersistentAttributeType persistenceAttribType, ManagedType<X> managedType, Field member) { this.attribType = attribType; this.attribName = attribName; this.persistenceAttribType = persistenceAttribType; this.managedType = managedType; this.member = member; this.columnName = getValidJPAColumnName(); this.fieldAnnotationProcessor = new DefaultFieldAnnotationProcessor(member); this.fieldAnnotationProcessor.validateFieldAnnotation( fieldAnnotationProcessor.getAnnotation(Column.class.getName()), (Field) member, this.managedType); this.tableName = getTableName(); }
if (!entityMetadata.getIdAttribute().getName().equals(attrib.getName()) && !metaModel.isEmbeddable(attrib.getJavaType()) && !attrib.isAssociation()) { String tableName = ((AbstractAttribute) attrib).getTableName() != null ? ((AbstractAttribute) attrib).getTableName() : entityMetadata.getTableName();
thriftColumns.add(thriftColumn); tableName = ((AbstractAttribute) column).getTableName() != null ? ((AbstractAttribute) column) .getTableName() : tableName; CounterSuperColumn thriftSuperColumn = (CounterSuperColumn) thriftCounterSuperColumns .get(tableName);
thriftColumn.setTimestamp(timestamp); thriftColumns.add(thriftColumn); String columnFamilyName = ((AbstractAttribute) column).getTableName() != null ? ((AbstractAttribute) column) .getTableName() : tableName; SuperColumn thriftSuperColumn = (SuperColumn) tableToSuperColumns.get(tableName); if (thriftSuperColumn == null)
String tableName = ((AbstractAttribute) attribute).getTableName() != null ? ((AbstractAttribute) attribute) .getTableName() : m.getTableName();
String columFamilyTableName = ((AbstractAttribute) column).getTableName() != null ? ((AbstractAttribute) column) .getTableName() : columnFamily; for (Attribute attribute : columns) embeddableColumFamilyName = ((AbstractAttribute) attribute).getTableName() != null ? ((AbstractAttribute) attribute) .getTableName() : columFamilyTableName; String columnName = columnFamilyName + Constants.EMBEDDED_COLUMN_NAME_DELIMITER + ((AbstractAttribute) attribute).getJPAColumnName() for (Attribute attribute : columns) embeddableColumFamilyName = ((AbstractAttribute) attribute).getTableName() != null ? ((AbstractAttribute) attribute) .getTableName() : columFamilyTableName; String columnName = columnFamilyName + Constants.EMBEDDED_COLUMN_NAME_DELIMITER + ((AbstractAttribute) attribute).getJPAColumnName() for (Attribute attribute : columns) embeddableColumFamilyName = ((AbstractAttribute) attribute).getTableName() != null ? ((AbstractAttribute) attribute) .getTableName() : columFamilyTableName;
columnName = count != -1 ? prefix + columnName + HBaseUtils.DELIM + count : prefix + columnName; String idColName = ((AbstractAttribute) m.getIdAttribute()).getJPAColumnName(); String colFamily = ((AbstractAttribute) attribute).getTableName() != null ? ((AbstractAttribute) attribute) .getTableName() : m.getTableName(); byte[] columnValue = hbaseData.getColumnValue(HBaseUtils.getColumnDataKey(colFamily, columnName)); if (relationNames != null && relationNames.contains(columnName) && columnValue != null
String colFamily = ((AbstractAttribute) attrib).getTableName() != null ? ((AbstractAttribute) attrib).getTableName() : m.getTableName(); String columnName = prefix + HBaseUtils.DOT + ((AbstractAttribute) attrib).getJPAColumnName(); byte[] valueInBytes = getValueInBytes(fieldValue, clazz, false, m);
for (Attribute attribute : attributes) String tableName = ((AbstractAttribute) attribute).getTableName() != null ? ((AbstractAttribute) attribute) .getTableName() : m.getTableName();
colFamily = attrib.getTableName() != null ? attrib.getTableName() : m.getTableName(); colName = colName != null ? colName : attrib.getJPAColumnName();
String columnFamily = absAttrib.getTableName() != null ? absAttrib.getTableName() : m.getTableName(); String columnName = absAttrib.getJPAColumnName(); columnName = count != -1 ? prefix + columnName + HBaseUtils.DELIM + count : prefix + columnName;
String collectionName = ((AbstractAttribute) column).getTableName() != null ? ((AbstractAttribute) column).getTableName() : tableName;
thriftColumns.add(thriftColumn); tableName = ((AbstractAttribute) column).getTableName() != null ? ((AbstractAttribute) column) .getTableName() : tableName; CounterSuperColumn thriftSuperColumn = (CounterSuperColumn) thriftCounterSuperColumns .get(tableName);
&& !metaModel.isEmbeddable(attrib.getJavaType()) && !attrib.isAssociation()) String tableName = ((AbstractAttribute) attrib).getTableName() != null ? ((AbstractAttribute) attrib) .getTableName() : entityMetadata.getTableName();
thriftColumn.setTimestamp(timestamp); thriftColumns.add(thriftColumn); String columnFamilyName = ((AbstractAttribute) column).getTableName() != null ? ((AbstractAttribute) column) .getTableName() : tableName; SuperColumn thriftSuperColumn = (SuperColumn) tableToSuperColumns.get(tableName); if (thriftSuperColumn == null)
String columFamilyTableName = ((AbstractAttribute) column).getTableName() != null ? ((AbstractAttribute) column) .getTableName() : columnFamily; for (Attribute attribute : columns) embeddableColumFamilyName = ((AbstractAttribute) attribute).getTableName() != null ? ((AbstractAttribute) attribute) .getTableName() : columFamilyTableName; String columnName = columnFamilyName + Constants.EMBEDDED_COLUMN_NAME_DELIMITER + ((AbstractAttribute) attribute).getJPAColumnName() for (Attribute attribute : columns) embeddableColumFamilyName = ((AbstractAttribute) attribute).getTableName() != null ? ((AbstractAttribute) attribute) .getTableName() : columFamilyTableName; String columnName = columnFamilyName + Constants.EMBEDDED_COLUMN_NAME_DELIMITER + ((AbstractAttribute) attribute).getJPAColumnName() for (Attribute attribute : columns) embeddableColumFamilyName = ((AbstractAttribute) attribute).getTableName() != null ? ((AbstractAttribute) attribute) .getTableName() : columFamilyTableName;
String tableName = ((AbstractAttribute) attribute).getTableName() != null ? ((AbstractAttribute) attribute) .getTableName() : m.getTableName();
String columFamilyTableName = ((AbstractAttribute) column).getTableName() != null ? ((AbstractAttribute) column) .getTableName() : columnFamily; for (Attribute attribute : columns) embeddableColumFamilyName = ((AbstractAttribute) attribute).getTableName() != null ? ((AbstractAttribute) attribute) .getTableName() : columFamilyTableName; String columnName = columnFamilyName + Constants.EMBEDDED_COLUMN_NAME_DELIMITER + ((AbstractAttribute) attribute).getJPAColumnName() for (Attribute attribute : columns) embeddableColumFamilyName = ((AbstractAttribute) attribute).getTableName() != null ? ((AbstractAttribute) attribute) .getTableName() : columFamilyTableName; String columnName = columnFamilyName + Constants.EMBEDDED_COLUMN_NAME_DELIMITER + ((AbstractAttribute) attribute).getJPAColumnName() for (Attribute attribute : columns) embeddableColumFamilyName = ((AbstractAttribute) attribute).getTableName() != null ? ((AbstractAttribute) attribute) .getTableName() : columFamilyTableName;
for (Attribute attribute : attributes) String tableName = ((AbstractAttribute) attribute).getTableName() != null ? ((AbstractAttribute) attribute) .getTableName() : m.getTableName();