private void onDiscriminatorColumn(ThriftRow tr, long timestamp, EntityType entityType)
    {
        String discrColumn = ((AbstractManagedType) entityType).getDiscriminatorColumn();
        String discrValue = ((AbstractManagedType) entityType).getDiscriminatorValue();

        // No need to check for empty or blank, as considering it as valid name
        // for nosql!
        if (discrColumn != null && discrValue != null)
        {
            Column column = prepareColumn(PropertyAccessorHelper.getBytes(discrValue),
                    PropertyAccessorHelper.getBytes(discrColumn), timestamp, 0);
            tr.addColumn(column);
        }
    }
private void onDiscriminatorColumn ( ThriftRow tr , long timestamp , EntityType entityType ) { String discrColumn = ( ( AbstractManagedType ) entityType ) . getDiscriminatorColumn ( ) ; String discrValue = ( ( AbstractManagedType ) entityType ) . getDiscriminatorValue ( ) ; if ( discrColumn != null && discrValue != null ) { Column column = prepareColumn ( PropertyAccessorHelper . getBytes ( discrValue ) , PropertyAccessorHelper . getBytes ( discrColumn ) , timestamp , 0 ) ; tr . addColumn ( column ) ; } }
On discriminator column.

@param tr
the tr
@param timestamp
the timestamp
@param entityType
the entity type