code: private void addDiscriminatorColumn(Row row, EntityType entityType, Table schemaTable)
      {
          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)
          {
              // Key
              // Key key = Key.createKey(majorKeyComponent, discrColumn);
  
              byte[] valueInBytes = PropertyAccessorHelper.getBytes(discrValue);
              NoSqlDBUtils.add(schemaTable.getField(discrColumn), row, discrValue, discrColumn);
  
          }
      }
docs: Process discriminator columns.
  
  @param row
  kv row object.
  @param entityType
  metamodel attribute.
  @param schemaTable
  the schema table