Tabnine Logo
TargetQueryRenderer.encode
Code IndexAdd Tabnine to your IDE (free)

How to use
encode
method
in
it.unibz.inf.ontop.spec.mapping.serializer.TargetQueryRenderer

Best Java code snippets using it.unibz.inf.ontop.spec.mapping.serializer.TargetQueryRenderer.encode (Showing top 3 results out of 315)

origin: ontop/ontop

private String printTargetQuery(ImmutableList<TargetAtom> query) {
  return TargetQueryRenderer.encode(query, ppMapping.getMetadata().getPrefixManager());
}
origin: ontop/ontop

  /***
   * Sets the current mapping to the input. Note, if the current mapping is
   * set, this means that this dialog is "updating" a mapping, and not
   * creating a new one.
   */
  public void setMapping(SQLPPTriplesMap mapping) {
    this.mapping = mapping;

    cmdInsertMapping.setText("Update");
    txtMappingID.setText(mapping.getId());

    OBDASQLQuery sourceQuery = mapping.getSourceQuery();
    String srcQuery = SourceQueryRenderer.encode(sourceQuery);
    txtSourceQuery.setText(srcQuery);

    ImmutableList<TargetAtom> targetQuery = mapping.getTargetAtoms();
    String trgQuery = TargetQueryRenderer.encode(targetQuery, prefixManager);
    txtTargetQuery.setText(trgQuery);
  }
}
origin: ontop/ontop

private void prepareTextPanes(SQLPPTriplesMap value, boolean selected) {
  ImmutableList<TargetAtom> targetQuery = value.getTargetAtoms();
  String trgQuery = TargetQueryRenderer.encode(targetQuery, prefixManager);
   trgQueryTextPane.setText(trgQuery);
it.unibz.inf.ontop.spec.mapping.serializerTargetQueryRendererencode

Javadoc

Transforms the given OBDAQuery into a string. The method requires a prefix manager to shorten full IRI name.

Popular methods of TargetQueryRenderer

  • getNestedConcats
  • appendTerms
  • displayBnode
  • displayConcat
  • displayDatatypeFunction
  • displayFunction
  • displayFunctionalBnode
  • displayOrdinaryFunction
  • displayURIConstant
  • displayURITemplate
  • displayValueConstant
  • displayVariable
  • displayValueConstant,
  • displayVariable,
  • getAbbreviatedName,
  • getDisplayName,
  • isUnary

Popular in Java

  • Start an intent from android
  • requestLocationUpdates (LocationManager)
  • setContentView (Activity)
  • scheduleAtFixedRate (Timer)
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JTextField (javax.swing)
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now