Examples of DataLocation


Examples of com.linkedin.data.codec.DataLocation

      // order does not matter
      fieldsFirst = false;
    }
    else
    {
      DataLocation includeListLocation = lookupDataLocation(includeList);
      DataLocation fieldsListLocation = lookupDataLocation(fieldsList);

      if (fieldsListLocation != null && includeListLocation != null && includeListLocation.compareTo(fieldsListLocation) > 0)
      {
        fieldsFirst = true;
      }
View Full Code Here

Examples of com.linkedin.data.codec.DataLocation

   */
  protected StringBuilder startErrorMessage(Object object)
  {
    if (object != null)
    {
      DataLocation dataLocation = lookupDataLocation(object);
      if (dataLocation != null)
      {
        errorMessageBuilder().append(dataLocation).append(": ");
      }
    }
View Full Code Here

Examples of org.apache.tajo.storage.DataLocation

  private void addDataLocation(FileFragment fragment) {
    String[] hosts = fragment.getHosts();
    int[] diskIds = fragment.getDiskIds();
    for (int i = 0; i < hosts.length; i++) {
      dataLocations.add(new DataLocation(hosts[i], diskIds[i]));
    }
  }
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

        private static boolean isApplicable(Locatable locatable) {
            if (locatable == null) {
                return false;
            }
            DataLocation location = locatable.getLocation();
            if (location == null) {
                return false;
            }
            DataLocationType type = location.getDataLocationType();
            return StructureLocationAssociations.hasAssociatedStructure(type);
        }
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

    @Override
    public LdapLocation getSelectedLdapLocation() {
        IntegrationEntity sel = getSelectedEntity();
        if (sel instanceof Target) {
            DataLocation loc = ((Target) sel).getLocation();
            return (LdapLocation) loc;
        }
        return null;
    }
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

    private final class Filter implements EntityFilter {

        @Override
        public boolean apply(IntegrationEntity entity) {
            // This cast is safe because this filter is applied to lists containing only Sources and Targets
            DataLocation loc = ((Locatable) entity).getLocation();
            return isValidLocation(loc);
        }
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

    @Override
    public LdapLocation getSelectedLdapLocation() {
        IntegrationEntity sel = getSelectedEntity();
        if (sel instanceof Source) {
            DataLocation loc = ((Source) sel).getLocation();
            return (LdapLocation) loc;
        }
        return null;
    }
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

     * Returns an icon that has been decorated according to the type of <code>DataLocation</code>
     * used by the given <code>Locatable</code>.
     *
     */
    public Icon getIcon(Locatable locatable, EntityIcons.Size size) {
        DataLocation loc = locatable.getLocation();
        if (loc != null) {
            return getIcon(loc, size);
        }
        return EntityIcons.forType(locatable.getID().getEntityType()).getDefaultIcon(size);
    }
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

        // how the UI is implemented in a couple of places.
        allowedTypes = null;
        if (newLocation.equals(location)) {
            return;
        }
        DataLocation old = location;
        if (locationAssoc != null) {
            locationAssoc.dispose();
        }
        locationAssoc = TargetLocationAssociationFactory.newAssociation(this, newLocation);
        location = newLocation;
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

        }
    }

    @Override
    public boolean isDeepCopyable() {
        DataLocation location = getLocation();
        if (location instanceof HttpLocation) {
            TargetId responseId = ((HttpLocation) location).getTargetIdForResponse();
            return responseId != null;
        }
        return false;
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.