code: private ByteBuffer subColumnNameAsBytes(String superColumn, CfDef columnFamilyDef)
      {
          String comparatorClass = columnFamilyDef.subcomparator_type;
  
          if (comparatorClass == null)
          {
              sessionState.out.println(String.format("Notice: defaulting to BytesType subcomparator for '%s'", columnFamilyDef.getName()));
              comparatorClass = "BytesType";
          }
  
          return getBytesAccordingToType(superColumn, getFormatType(comparatorClass));
      }
docs: Converts column name into ByteBuffer according to comparator type
  @param superColumn - sub-column name from parser
  @param columnFamilyDef - column family from parser
  @return ByteBuffer bytes - into which column name was converted according to comparator type