Package com.infochimps.vayacondios

Examples of com.infochimps.vayacondios.ItemSets


  public static void loadFlatItemSet(String orgName, String topic, String id) {
    loadFlatItemSet(orgName, topic, id, Boolean.FALSE);
  }

  public static void loadFlatItemSet(String orgName, String topic, String id, Boolean withOrg) {
    ItemSets org = organizations.get(orgName);
    StandardVCDLink
      .forceLegacy(Boolean.valueOf(propertyOr("vayacondios.legacy", "false")));
    if (org == null) {
      org = (new VayacondiosClient(
                  propertyOrDie("vayacondios.host"),
                  Integer.parseInt(propertyOrDie("vayacondios.port"))).
             organization(orgName).
             itemsets());

      organizations.put(orgName, org);
    }

    StringBuilder builder = new StringBuilder();

    List<Item> items = null;
    try { items = org.fetch(topic, id); }
    catch (IOException ex) {
      LOG.warn("error loading " + topic + "." + id + " from vayacondios:", ex);
      return;
    }
View Full Code Here

TOP

Related Classes of com.infochimps.vayacondios.ItemSets

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.