simpledb.metadata
Class MetadataMgr

java.lang.Object
  extended by simpledb.metadata.MetadataMgr

public class MetadataMgr
extends Object


Constructor Summary
MetadataMgr(boolean isnew, Transaction tx)
           
 
Method Summary
 void createIndex(String idxname, String tblname, String fldname, Transaction tx)
           
 void createTable(String tblname, Schema sch, Transaction tx)
           
 void createView(String viewname, String viewdef, Transaction tx)
           
 Map<String,IndexInfo> getIndexInfo(String tblname, Transaction tx)
           
 StatInfo getStatInfo(String tblname, TableInfo ti, Transaction tx)
           
 TableInfo getTableInfo(String tblname, Transaction tx)
           
 String getViewDef(String viewname, Transaction tx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataMgr

public MetadataMgr(boolean isnew,
                   Transaction tx)
Method Detail

createTable

public void createTable(String tblname,
                        Schema sch,
                        Transaction tx)

getTableInfo

public TableInfo getTableInfo(String tblname,
                              Transaction tx)

createView

public void createView(String viewname,
                       String viewdef,
                       Transaction tx)

getViewDef

public String getViewDef(String viewname,
                         Transaction tx)

createIndex

public void createIndex(String idxname,
                        String tblname,
                        String fldname,
                        Transaction tx)

getIndexInfo

public Map<String,IndexInfo> getIndexInfo(String tblname,
                                          Transaction tx)

getStatInfo

public StatInfo getStatInfo(String tblname,
                            TableInfo ti,
                            Transaction tx)


Copyright © 2011. All Rights Reserved.