Package com.cloudera.cdk.data.hbase.avro

Examples of com.cloudera.cdk.data.hbase.avro.SpecificAvroDao$SpecificMapCompositeAvroDao


    // TODO: use descriptor.getFormat() to decide type of DAO (Avro vs. other)
    String tableName = HBaseMetadataProvider.getTableName(name);
    String entityName = HBaseMetadataProvider.getEntityName(name);
    Dao dao;
    if (isSpecific(descriptor)) {
      dao = new SpecificAvroDao(tablePool, tableName, entityName, schemaManager);
    } else {
      dao = new GenericAvroDao(tablePool, tableName, entityName, schemaManager);
    }
    return new DaoDataset(name, dao, descriptor);
  }
View Full Code Here

TOP

Related Classes of com.cloudera.cdk.data.hbase.avro.SpecificAvroDao$SpecificMapCompositeAvroDao

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.