Package org.kiji.schema

Examples of org.kiji.schema.KijiSystemTable.fromBackup()


   */
  public void restoreSystemVars(MetadataBackup backup, Kiji kiji) throws IOException {
    // Restore all System table entries from the file.
    final KijiSystemTable systemTable = kiji.getSystemTable();
    LOG.info("Restoring system table entries...");
    systemTable.fromBackup(backup.getSystemTable());
    LOG.info(String.format("Restored %d entries.", backup.getSystemTable().getEntries().size()));
  }
}
View Full Code Here


   */
  public void restoreSystemVars(MetadataBackup backup, Kiji kiji) throws IOException {
    // Restore all System table entries from the file.
    final KijiSystemTable systemTable = kiji.getSystemTable();
    LOG.info("Restoring system table entries...");
    systemTable.fromBackup(backup.getSystemTable());
    LOG.info(String.format("Restored %d entries.", backup.getSystemTable().getEntries().size()));
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.