Tabnine Logo
XQStaticContext.getQueryTimeout
Code IndexAdd Tabnine to your IDE (free)

How to use
getQueryTimeout
method
in
javax.xml.xquery.XQStaticContext

Best Java code snippets using javax.xml.xquery.XQStaticContext.getQueryTimeout (Showing top 2 results out of 315)

origin: dsukhoroslov/bagri

result.setProperty(pn_xqj_orderingMode, String.valueOf(ctx.getOrderingMode()));
result.setProperty(pn_xqj_queryLanguageTypeAndVersion, String.valueOf(ctx.getQueryLanguageTypeAndVersion()));
result.setProperty(pn_xqj_queryTimeout, String.valueOf(ctx.getQueryTimeout()));
result.setProperty(pn_xqj_scrollability, String.valueOf(ctx.getScrollability()));
return result;
origin: dsukhoroslov/bagri

public void copyFrom(XQStaticContext from) throws XQException {
  this.prefixes = null;
  this.namespaces.clear();
  for (String prefix: from.getNamespacePrefixes()) {
    this.declareNamespace(prefix, from.getNamespaceURI(prefix));
  }
  this.defaultElementTypeNamespace = from.getDefaultElementTypeNamespace();
  this.defaultFunctionNamespace = from.getDefaultFunctionNamespace();
  this.defaultCollationUri = from.getDefaultCollation();
  this.constructionMode = from.getConstructionMode();
  this.orderingMode = from.getOrderingMode();
  this.defaultOrderForEmptySequences = from.getDefaultOrderForEmptySequences();
  this.boundarySpacePolicy = from.getBoundarySpacePolicy();
  this.copyNamespacesModePreserve = from.getCopyNamespacesModePreserve();
  this.copyNamespacesModeInherit = from.getCopyNamespacesModeInherit();
  this.baseUri = from.getBaseURI();
  this.bindingMode = from.getBindingMode();
  this.holdability = from.getHoldability();
  this.queryLanguageTypeAndVersion = from.getQueryLanguageTypeAndVersion();
  this.scrollability = from.getScrollability();
  this.queryTimeout = from.getQueryTimeout();
  setContextItemStaticType(from.getContextItemStaticType());
}
javax.xml.xqueryXQStaticContextgetQueryTimeout

Javadoc

Retrieves the number of seconds an implementation will wait for a query to execute.

Popular methods of XQStaticContext

  • declareNamespace
    Declares a namespace prefix and associates it with a namespace URI. If the namespace URI is the empt
  • getBaseURI
    Gets the Base URI, if set in the static context, else the empty string.
  • getBoundarySpacePolicy
    Gets the boundary-space policy defined in the static context.
  • getConstructionMode
    Gets the construction mode defined in the static context.
  • getCopyNamespacesModeInherit
    Gets the inherit part of the copy-namespaces mode defined in the static context.
  • getCopyNamespacesModePreserve
    Gets the preserve part of the copy-namespaces mode defined in the static context.
  • getDefaultCollation
    Gets the URI of the default collation.
  • getDefaultElementTypeNamespace
    Gets the URI of the default element/type namespace, the empty string if not set.
  • getDefaultFunctionNamespace
    Gets the URI of the default function namespace, the empty string if not set.
  • getDefaultOrderForEmptySequences
    Gets the default order for empty sequences defined in the static context.
  • getNamespacePrefixes
    Returns the prefixes of all the statically known namespaces. Use the getNamespaceURI method to look
  • getNamespaceURI
    Retrieves the namespace URI associated with a prefix. An XQException is thrown if an unknown prefix
  • getNamespacePrefixes,
  • getNamespaceURI,
  • getQueryLanguageTypeAndVersion,
  • getBindingMode,
  • getHoldability,
  • getOrderingMode,
  • getScrollability,
  • getContextItemStaticType,
  • setBaseURI

Popular in Java

  • Making http post requests using okhttp
  • requestLocationUpdates (LocationManager)
  • startActivity (Activity)
  • putExtra (Intent)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JButton (javax.swing)
  • Best plugins for Eclipse
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