Package org.kiji.schema

Examples of org.kiji.schema.KijiInvalidNameException


      final HBaseFactory hbaseFactory,
      final Map<String, String> properties,
      final Configuration conf
  ) throws IOException {
    if (uri.getInstance() == null) {
      throw new KijiInvalidNameException(String.format(
          "Kiji URI '%s' does not specify a Kiji instance name", uri));
    }

    final HBaseAdminFactory adminFactory = hbaseFactory.getHBaseAdminFactory(uri);
    final HTableInterfaceFactory tableFactory = hbaseFactory.getHTableInterfaceFactory(uri);
View Full Code Here


      final KijiURI uri,
      final HBaseFactory hbaseFactory,
      final Configuration conf
  ) throws IOException {
    if (uri.getInstance() == null) {
      throw new KijiInvalidNameException(String.format(
          "Kiji URI '%s' does not specify a Kiji instance name", uri));
    }
    final HBaseAdminFactory adminFactory = hbaseFactory.getHBaseAdminFactory(uri);
    final HTableInterfaceFactory htableFactory = hbaseFactory.getHTableInterfaceFactory(uri);
View Full Code Here

   * @param name The string to validate as a layout name.
   * @throws KijiInvalidNameException If the name is invalid.
   */
  public static void validateLayoutName(CharSequence name) {
    if (!isValidLayoutName(name)) {
      throw new KijiInvalidNameException("Invalid layout name: " + name);
    }
  }
View Full Code Here

   * @param name The string to validate as a layout name alias.
   * @throws KijiInvalidNameException If the name is invalid.
   */
  public static void validateAlias(CharSequence name) {
    if (!isValidAlias(name)) {
      throw new KijiInvalidNameException("Invalid alias: " + name);
    }
  }
View Full Code Here

   * @param name The string to validate as a Kiji instance name.
   * @throws KijiInvalidNameException If the name is invalid.
   */
  public static void validateKijiName(CharSequence name) {
    if (!isValidKijiName(name)) {
      throw new KijiInvalidNameException("Invalid instance name: " + name);
    }
  }
View Full Code Here

      Map<String, String> properties,
      Configuration conf
    ) throws IOException {
    final CassandraFactory cassandraFactory = CassandraFactory.Provider.get();
    if (uri.getInstance() == null) {
      throw new KijiInvalidNameException(String.format(
          "Kiji URI '%s' does not specify a Kiji instance name", uri));
    }

    try {
      LOG.info(String.format("Installing Cassandra Kiji instance '%s'.", uri));
View Full Code Here

      KijiURI uri,
      HBaseFactory hbaseFactory,
      Configuration conf
  ) throws IOException {
    if (uri.getInstance() == null) {
      throw new KijiInvalidNameException(String.format(
          "Kiji URI '%s' does not specify a Kiji instance name", uri));
    }
    final CassandraAdminFactory adminFactory =
        CassandraFactory.Provider.get().getCassandraAdminFactory(uri);
View Full Code Here

TOP

Related Classes of org.kiji.schema.KijiInvalidNameException

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.