Searched refs:query (Results 1 - 25 of 113) sorted by relevance

12345

/openjdk10/jdk/src/java.base/share/classes/java/time/temporal/
H A DTemporalAccessor.java84 * These can be accessed via {@linkplain #query(TemporalQuery) queries} using
164 * @param field the field to query the range for, not null
260 * This queries this date-time using the specified query strategy object.
265 * Examples might be a query that checks if the date is the day before February 29th
268 * The most common query implementations are method references, such as
275 * if (query == TemporalQueries.zoneId() ||
276 * query == TemporalQueries.chronology() || query == TemporalQueries.precision()) {
279 * return query.queryFrom(this);
284 * {@code TemporalAccessor.super.query(quer
308 query(TemporalQuery<R> query) argument
[all...]
H A DTemporalQueries.java85 * Examples might be a query that checks if the date is the day before February 29th
94 * The second is to use {@link TemporalAccessor#query(TemporalQuery)}:
98 * temporal = temporal.query(thisQuery);
100 * It is recommended to use the second approach, {@code query(TemporalQuery)},
136 * A strict query for the {@code ZoneId}.
144 * In most cases, applications should use {@link #zone()} as this query is too strict.
165 * @return a query that can obtain the zone ID of a temporal, not null
172 * A query for the {@code Chronology}.
201 * That method is equivalent to this query, except that it throws an
204 * @return a query tha
[all...]
/openjdk10/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/
H A DDocLink.java30 * an optional query, and an optional fragment. DocLink objects can
33 * {@link DocPath#query query}.
43 final String query; field in class:DocLink
57 * Create a DocLink representing the URI {@code path?query#fragment}.
58 * query and fragment may be null.
60 public DocLink(DocPath path, String query, String fragment) { argument
61 this(path.getPath(), query, fragment);
65 * Create a DocLink representing the URI {@code path?query#fragment}.
68 public DocLink(String path, String query, Strin argument
[all...]
/openjdk10/jdk/src/java.naming/share/classes/com/sun/jndi/ldap/
H A DLdapURL.java82 init(url); // scheme, host, port, path, query
162 * Determines whether an LDAP URL has query components.
192 * Parses the path and query components of an URL and sets this
209 // query begins with a '?' or is null
211 if (query == null || query.length() < 2) {
220 nextQmark = query.indexOf('?', currentIndex);
221 endIndex = nextQmark == -1 ? query.length() : nextQmark;
223 attributes = query.substring(currentIndex, endIndex);
226 if (currentIndex >= query
[all...]
/openjdk10/jdk/test/java/net/URL/
H A DRestoreURL.java49 String query = restoredUrl.getQuery();
55 if ((query ==null) || !query.equals(origUrl.getQuery())) {
56 throw new Exception("query not restored");
H A DURIToURLTest.java99 String query = uri.getQuery();
100 boolean queryCheck = query == null? url.getQuery() == null :
101 query.equals(url.getQuery());
103 throw new RuntimeException("uri.query is " + query +
104 " url.query is " +
/openjdk10/jdk/src/java.base/share/classes/java/time/chrono/
H A DEra.java132 * If the field is a {@link ChronoField} then the query is implemented here.
160 * If the field is a {@link ChronoField} then the query is implemented here.
172 * @param field the field to query the range for, not null
190 * If the field is a {@link ChronoField} then the query is implemented here.
222 * If the field is a {@link ChronoField} then the query is implemented here.
249 * Queries this era using the specified query.
251 * This queries this era using the specified query strategy object.
253 * obtain the result. Read the documentation of the query to understand
258 * specified query passing {@code this} as the argument.
261 * @param query th
268 query(TemporalQuery<R> query) argument
[all...]
H A DChronoLocalDate.java280 * allowing it to be used as a query via method reference, {@code ChronoLocalDate::from}.
292 Chronology chrono = temporal.query(TemporalQueries.chronology());
491 * Queries this date using the specified query.
493 * This queries this date using the specified query strategy object.
495 * obtain the result. Read the documentation of the query to understand
500 * specified query passing {@code this} as the argument.
503 * @param query the query to invoke, not null
504 * @return the query result, null may be returned (defined by the query)
510 query(TemporalQuery<R> query) argument
[all...]
H A DChronoZonedDateTime.java165 * allowing it to be used as a query via method reference, {@code ChronoZonedDateTime::from}.
177 Chronology chrono = temporal.query(TemporalQueries.chronology());
471 * Queries this date-time using the specified query.
473 * This queries this date-time using the specified query strategy object.
475 * obtain the result. Read the documentation of the query to understand
480 * specified query passing {@code this} as the argument.
483 * @param query the query to invoke, not null
484 * @return the query result, null may be returned (defined by the query)
490 query(TemporalQuery<R> query) argument
[all...]
H A DChronoLocalDateTime.java164 * allowing it to be used as a query via method reference, {@code ChronoLocalDateTime::from}.
176 Chronology chrono = temporal.query(TemporalQueries.chronology());
324 * Queries this date-time using the specified query.
326 * This queries this date-time using the specified query strategy object.
328 * obtain the result. Read the documentation of the query to understand
333 * specified query passing {@code this} as the argument.
336 * @param query the query to invoke, not null
337 * @return the query result, null may be returned (defined by the query)
343 query(TemporalQuery<R> query) argument
[all...]
/openjdk10/jdk/test/javax/management/query/
H A DCustomQueryTest.java72 /* A query that calls the increment method of the Count MBean every time
73 * it is evaluated. If there is no ObjectName filter, the query will be
94 QueryExp query = new IncrQuery();
95 Set<ObjectName> names = mbs.queryNames(null, query);
100 oout.writeObject(query);
104 query = (QueryExp) oin.readObject();
105 names = mbs.queryNames(null, query);
H A DQuerySubstringTest.java81 private static int query(MBeanServer mbs, method in class:QuerySubstringTest
104 ObjectName on = new ObjectName("test:type=Simple,query=" +
151 error += query(mbs, 1, pattern, data);
153 error += query(mbs, 2, pattern, data);
155 error += query(mbs, 3, pattern, data);
/openjdk10/jdk/src/java.base/share/classes/java/time/format/
H A DDateTimePrintContext.java132 Chronology temporalChrono = temporal.query(TemporalQueries.chronology());
133 ZoneId temporalZone = temporal.query(TemporalQueries.zoneId());
209 public <R> R query(TemporalQuery<R> query) {
210 if (query == TemporalQueries.chronology()) {
213 if (query == TemporalQueries.zoneId()) {
216 if (query == TemporalQueries.precision()) {
217 return temporal.query(query);
219 return query
286 getValue(TemporalQuery<R> query) argument
[all...]
/openjdk10/jdk/src/jdk.internal.jvmstat/share/classes/sun/jvmstat/monitor/
H A DHostIdentifier.java209 * @param query the {@link URI#getQuery} component of a URI.
219 String query, String fragment)
221 uri = new URI(scheme, authority, path, query, fragment);
290 String query = vmid.getQuery();
291 if (query != null) {
292 sb.append("?").append(query);
394 String query = vmid.getQuery();
395 if (query == null) {
396 query = getQuery();
398 if (query !
218 HostIdentifier(String scheme, String authority, String path, String query, String fragment) argument
[all...]
/openjdk10/jdk/test/java/time/tck/java/time/format/
H A DTCKDateTimeParseResolver.java157 assertEquals(accessor.query(TemporalQueries.localDate()), null);
158 assertEquals(accessor.query(TemporalQueries.localTime()), null);
196 assertEquals(accessor.query(TemporalQueries.localDate()), null);
197 assertEquals(accessor.query(TemporalQueries.localTime()), null);
228 assertEquals(accessor.query(TemporalQueries.localDate()), null);
229 assertEquals(accessor.query(TemporalQueries.localTime()), null);
262 assertEquals(accessor.query(TemporalQueries.localDate()), null);
263 assertEquals(accessor.query(TemporalQueries.localTime()), null);
288 assertEquals(accessor.query(TemporalQueries.localDate()), expectedDate);
289 assertEquals(accessor.query(TemporalQuerie
[all...]
H A DTCKInstantPrinterParser.java229 assertEquals(f.parse(input).query(DateTimeFormatter.parsedExcessDays()), Period.ZERO);
230 assertEquals(f.parse(input).query(DateTimeFormatter.parsedLeapSecond()), Boolean.FALSE);
239 assertEquals(f.parse(input).query(DateTimeFormatter.parsedExcessDays()), Period.ZERO);
240 assertEquals(f.parse(input).query(DateTimeFormatter.parsedLeapSecond()), Boolean.FALSE);
257 assertEquals(parsed.query(Instant::from), expected);
258 assertEquals(parsed.query(DateTimeFormatter.parsedExcessDays()), Period.ZERO);
259 assertEquals(parsed.query(DateTimeFormatter.parsedLeapSecond()), Boolean.FALSE);
269 assertEquals(parsed.query(Instant::from), expected);
270 assertEquals(parsed.query(DateTimeFormatter.parsedExcessDays()), Period.ZERO);
271 assertEquals(parsed.query(DateTimeFormatte
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/time/
H A DDayOfWeek.java181 * allowing it to be used as a query via method reference, {@code DayOfWeek::from}.
275 * @param field the field to query the range for, not null
387 * Queries this day-of-week using the specified query.
389 * This queries this day-of-week using the specified query strategy object.
391 * obtain the result. Read the documentation of the query to understand
396 * specified query passing {@code this} as the argument.
399 * @param query the query to invoke, not null
400 * @return the query result, null may be returned (defined by the query)
406 query(TemporalQuery<R> query) argument
[all...]
H A DMonth.java205 * allowing it to be used as a query via method reference, {@code Month::from}.
302 * @param field the field to query the range for, not null
544 * Queries this month-of-year using the specified query.
546 * This queries this month-of-year using the specified query strategy object.
548 * obtain the result. Read the documentation of the query to understand
553 * specified query passing {@code this} as the argument.
556 * @param query the query to invoke, not null
557 * @return the query result, null may be returned (defined by the query)
563 query(TemporalQuery<R> query) argument
[all...]
/openjdk10/jdk/src/jdk.naming.dns/share/classes/com/sun/jndi/dns/
H A DResolver.java75 * If recursion is true, recursion is requested on the query.
78 ResourceRecords query(DnsName fqdn, int rrclass, int rrtype, method in class:Resolver
81 return dnsClient.query(fqdn, rrclass, rrtype, recursion, auth);
86 * If recursion is true, recursion is requested on the query to find
115 rrs = query(fqdn, rrclass, ResourceRecord.TYPE_SOA,
146 * If recursion is true, recursion is requested on the query.
151 ResourceRecords rrs = query(zone, rrclass, ResourceRecord.TYPE_SOA,
165 * If recursion is true, recursion is requested on the query.
173 query(zone, ResourceRecord.CLASS_INTERNET, ResourceRecord.TYPE_NS,
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/soql/
H A DSOQLEngine.java54 public synchronized void executeQuery(String query, ObjectVisitor visitor) argument
56 debugPrint("query : " + query);
57 StringTokenizer st = new StringTokenizer(query);
61 throw new SOQLException("query syntax error: no 'select' clause");
64 throw new SOQLException("query syntax error: no 'select' clause");
67 int selectStart = query.indexOf("select");
68 int fromStart = query.indexOf("from");
77 selectExpr = query.substring(selectStart + "select".length(), fromStart);
78 st = new StringTokenizer(query
[all...]
/openjdk10/jaxp/test/javax/xml/jaxp/unittest/transform/
H A DBug6384805.java71 XPath query = XPathFactory.newInstance().newXPath();
73 query.setNamespaceContext(new NamespaceContext() {
88 Object o1 = query.evaluate("/test/office:document/office:styles/style:default-style/@style:family", res.getNode(), XPathConstants.STRING);
/openjdk10/jdk/src/java.naming/share/classes/com/sun/jndi/toolkit/url/
H A DUri.java55 * hier_part = ( net_path | abs_path ) [ "?" query ]
86 * query = *uric
114 protected String query = null; field in class:Uri
177 * Returns the URI's query part, or null if no query is provided.
178 * Note that a query always begins with a leading "?".
181 return query;
236 int qmark = uri.indexOf('?', i); // look for query
241 query = uri.substring(qmark);
/openjdk10/jdk/src/jdk.management/windows/native/libmanagement_ext/
H A DOperatingSystemImpl.c217 HQUERY query; member in struct:__anon1369
218 uint64_t lastUpdate; // Last time query was updated (ticks)
221 // Min time between query updates (ticks)
225 * Struct for a PDH query with multiple counters.
228 UpdateQueryS query; member in struct:__anon1370
234 * Struct for a PDH query with a single counter.
237 UpdateQueryS query; member in struct:__anon1371
518 pdhCleanup(HQUERY* const query, HCOUNTER* const counter) { argument
523 if (query && *query) {
552 openQuery(HQUERY* const query) argument
563 addCounter(HQUERY query, const char* const fullCounterPath, HCOUNTER* const counter) argument
995 getPerformanceData(UpdateQueryP query, HCOUNTER c, PDH_FMT_COUNTERVALUE* value, DWORD format) argument
[all...]
/openjdk10/jdk/test/javax/sql/testng/test/rowset/
H A DBaseRowSetTests.java305 brs.setString(2, query);
319 brs.setObject(16, query);
320 brs.setObject(17, query, Types.CHAR);
321 brs.setObject(18, query, Types.CHAR, 0);
325 {2, query},
339 {16, query},
340 {17, query},
341 {18, query}
353 Ref aRef = new SerialRef(new StubRef("INTEGER", query));
357 Reader rdr = new StringReader(query);
[all...]
/openjdk10/jdk/src/demo/share/jfc/TableExample/
H A DTableExample2.java62 String passwd, String query) {
72 dt.executeQuery(query);
61 TableExample2(String URL, String driver, String user, String passwd, String query) argument

Completed in 124 milliseconds

12345