org.apache.hadoop.hbase.hbql.impl
Class MappingManager

java.lang.Object
  extended by org.apache.hadoop.hbase.hbql.impl.MappingManager

public class MappingManager
extends Object


Constructor Summary
MappingManager(HConnectionImpl conn)
           
 
Method Summary
 void clear()
           
 TableMapping createMapping(boolean isTemp, boolean isSystem, String mappingName, String tableName, KeyInfo keyInfo, List<FamilyMapping> familyMappingList)
           
 boolean dropMapping(String mappingName)
           
 Set<HMapping> getAllMappings()
           
 TableMapping getMapping(String mappingName)
           
 boolean mappingExists(String mappingName)
           
 void validatePersistentMetadata()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingManager

public MappingManager(HConnectionImpl conn)
Method Detail

clear

public void clear()

validatePersistentMetadata

public void validatePersistentMetadata()
                                throws HBqlException
Throws:
HBqlException

getAllMappings

public Set<HMapping> getAllMappings()
                             throws HBqlException
Throws:
HBqlException

mappingExists

public boolean mappingExists(String mappingName)
                      throws HBqlException
Throws:
HBqlException

dropMapping

public boolean dropMapping(String mappingName)
                    throws HBqlException
Throws:
HBqlException

createMapping

public TableMapping createMapping(boolean isTemp,
                                  boolean isSystem,
                                  String mappingName,
                                  String tableName,
                                  KeyInfo keyInfo,
                                  List<FamilyMapping> familyMappingList)
                           throws HBqlException
Throws:
HBqlException

getMapping

public TableMapping getMapping(String mappingName)
                        throws HBqlException
Throws:
HBqlException


Copyright © 2011. All Rights Reserved.