Package org.kiji.schema.layout.impl.cassandra

Examples of org.kiji.schema.layout.impl.cassandra.ShortColumnNameTranslator


   * @return {@link CassandraColumnNameTranslator} of the appropriate type.
   */
  public static CassandraColumnNameTranslator from(KijiTableLayout tableLayout) {
    switch (tableLayout.getDesc().getColumnNameTranslator()) {
      case SHORT:
        return new ShortColumnNameTranslator(tableLayout);
      default:
        throw new UnsupportedOperationException(String.format(
            "Unsupported CassandraColumnNameTranslator: %s for column: %s.",
            tableLayout.getDesc().getColumnNameTranslator(),
            tableLayout.getName()));
View Full Code Here

TOP

Related Classes of org.kiji.schema.layout.impl.cassandra.ShortColumnNameTranslator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.