OpenSearch/docs/reference/painless-api-reference/index.asciidoc

339 lines
12 KiB
Plaintext
Raw Normal View History

Generate reference links for painless API (#22775) Adds "Appending B. Painless API Reference", a reference of all classes and methods available from Painless. Removes links to java packages because they contain methods that we don't expose and don't contain methods that we do expose (the ones in Augmentation). Instead this generates a list of every class and every exposed method using the same type information available to the interpreter/compiler/whatever-we-call-it. From there you can jump to the relevant docs. Right now you build all the asciidoc files by running ``` gradle generatePainlessApi ``` These files are expected to be committed because we build the docs without running `gradle`. Also changes the output of `Debug.explain` so that it is easy to search for the class in the generated reference documentation. You can also run it in an IDE safely if you pass the path to the directory in which to generate the docs as the first parameter. It'll blow away the entire directory an recreate it from scratch so be careful. And then you can build the docs by running something like: ``` ../docs/build_docs.pl --out ../built_docs/ --doc docs/reference/index.asciidoc --open ``` That is, if you have checked out https://github.com/elastic/docs in `../docs`. Wait a minute or two and your browser will pop open in with all of Elasticsearch's reference documentation. If you go to `http://localhost:8000/painless-api-reference.html` you can see this list. Or you can get there by following the links to `Modules` and `Scripting` and `Painless` and then clicking the link in the paragraphs below titled `Appendix B. Painless API Reference`. I like having these in asciidoc because we can deep link to them from the rest of the guide with constructs like `<<painless-api-reference-Object-hashCode-0>>` and `<<painless-api-reference->>` and we get link checking. Then the only brittle link maintenance bit is the link generation for javadoc. Which sucks. But I think it is important that we link to the methods directly so they are easy to find. Relates to #22720
2017-01-26 10:39:19 -05:00
////
Automatically generated by PainlessDocGenerator. Do not edit.
Rebuild by running `gradle generatePainlessApi`.
////
include::AbstractChronology.asciidoc[]
include::AbstractCollection.asciidoc[]
include::AbstractList.asciidoc[]
include::AbstractMap.asciidoc[]
include::AbstractMap.SimpleEntry.asciidoc[]
include::AbstractMap.SimpleImmutableEntry.asciidoc[]
include::AbstractQueue.asciidoc[]
include::AbstractSequentialList.asciidoc[]
include::AbstractSet.asciidoc[]
include::Annotation.asciidoc[]
include::Appendable.asciidoc[]
include::ArithmeticException.asciidoc[]
include::ArrayDeque.asciidoc[]
include::ArrayIndexOutOfBoundsException.asciidoc[]
include::ArrayList.asciidoc[]
include::ArrayStoreException.asciidoc[]
include::Arrays.asciidoc[]
include::AttributedCharacterIterator.asciidoc[]
include::AttributedCharacterIterator.Attribute.asciidoc[]
include::AttributedString.asciidoc[]
include::Base64.asciidoc[]
include::Base64.Decoder.asciidoc[]
include::Base64.Encoder.asciidoc[]
include::BaseStream.asciidoc[]
include::BiConsumer.asciidoc[]
include::BiFunction.asciidoc[]
include::BiPredicate.asciidoc[]
include::Bidi.asciidoc[]
include::BigDecimal.asciidoc[]
include::BigInteger.asciidoc[]
include::BinaryOperator.asciidoc[]
include::BitSet.asciidoc[]
include::Boolean.asciidoc[]
include::BooleanSupplier.asciidoc[]
include::BreakIterator.asciidoc[]
include::Byte.asciidoc[]
include::BytesRef.asciidoc[]
include::Calendar.asciidoc[]
include::Calendar.Builder.asciidoc[]
include::CharSequence.asciidoc[]
include::Character.asciidoc[]
include::Character.Subset.asciidoc[]
include::Character.UnicodeBlock.asciidoc[]
include::Character.UnicodeScript.asciidoc[]
include::CharacterIterator.asciidoc[]
include::ChoiceFormat.asciidoc[]
include::ChronoField.asciidoc[]
include::ChronoLocalDate.asciidoc[]
include::ChronoLocalDateTime.asciidoc[]
include::ChronoPeriod.asciidoc[]
include::ChronoUnit.asciidoc[]
include::ChronoZonedDateTime.asciidoc[]
include::Chronology.asciidoc[]
include::ClassCastException.asciidoc[]
include::ClassNotFoundException.asciidoc[]
include::Clock.asciidoc[]
include::CloneNotSupportedException.asciidoc[]
include::CollationElementIterator.asciidoc[]
include::CollationKey.asciidoc[]
include::Collator.asciidoc[]
include::Collection.asciidoc[]
include::Collections.asciidoc[]
include::Collector.asciidoc[]
include::Collector.Characteristics.asciidoc[]
include::Collectors.asciidoc[]
include::Comparable.asciidoc[]
include::Comparator.asciidoc[]
include::ConcurrentModificationException.asciidoc[]
include::Consumer.asciidoc[]
include::Currency.asciidoc[]
include::Date.asciidoc[]
include::DateFormat.asciidoc[]
include::DateFormat.Field.asciidoc[]
include::DateFormatSymbols.asciidoc[]
include::DateTimeException.asciidoc[]
include::DateTimeFormatter.asciidoc[]
include::DateTimeFormatterBuilder.asciidoc[]
include::DateTimeParseException.asciidoc[]
include::DayOfWeek.asciidoc[]
include::Debug.asciidoc[]
include::DecimalFormat.asciidoc[]
include::DecimalFormatSymbols.asciidoc[]
include::DecimalStyle.asciidoc[]
include::Deque.asciidoc[]
include::Dictionary.asciidoc[]
include::Double.asciidoc[]
include::DoubleBinaryOperator.asciidoc[]
include::DoubleConsumer.asciidoc[]
include::DoubleFunction.asciidoc[]
include::DoublePredicate.asciidoc[]
include::DoubleStream.asciidoc[]
include::DoubleStream.Builder.asciidoc[]
include::DoubleSummaryStatistics.asciidoc[]
include::DoubleSupplier.asciidoc[]
include::DoubleToIntFunction.asciidoc[]
include::DoubleToLongFunction.asciidoc[]
include::DoubleUnaryOperator.asciidoc[]
include::DuplicateFormatFlagsException.asciidoc[]
include::Duration.asciidoc[]
include::EmptyStackException.asciidoc[]
include::Enum.asciidoc[]
include::EnumConstantNotPresentException.asciidoc[]
include::Enumeration.asciidoc[]
include::Era.asciidoc[]
include::EventListener.asciidoc[]
include::EventListenerProxy.asciidoc[]
include::EventObject.asciidoc[]
include::Exception.asciidoc[]
include::FieldPosition.asciidoc[]
include::Float.asciidoc[]
include::Format.asciidoc[]
include::Format.Field.asciidoc[]
include::FormatFlagsConversionMismatchException.asciidoc[]
include::FormatStyle.asciidoc[]
include::Formattable.asciidoc[]
include::FormattableFlags.asciidoc[]
include::Formatter.asciidoc[]
include::Formatter.BigDecimalLayoutForm.asciidoc[]
include::FormatterClosedException.asciidoc[]
include::Function.asciidoc[]
include::GregorianCalendar.asciidoc[]
include::HashMap.asciidoc[]
include::HashSet.asciidoc[]
include::Hashtable.asciidoc[]
include::HijrahChronology.asciidoc[]
include::HijrahDate.asciidoc[]
include::HijrahEra.asciidoc[]
include::IdentityHashMap.asciidoc[]
include::IllegalAccessException.asciidoc[]
include::IllegalArgumentException.asciidoc[]
include::IllegalFormatCodePointException.asciidoc[]
include::IllegalFormatConversionException.asciidoc[]
include::IllegalFormatException.asciidoc[]
include::IllegalFormatFlagsException.asciidoc[]
include::IllegalFormatPrecisionException.asciidoc[]
include::IllegalFormatWidthException.asciidoc[]
include::IllegalMonitorStateException.asciidoc[]
include::IllegalStateException.asciidoc[]
include::IllegalThreadStateException.asciidoc[]
include::IllformedLocaleException.asciidoc[]
include::IndexOutOfBoundsException.asciidoc[]
include::InputMismatchException.asciidoc[]
include::Instant.asciidoc[]
include::InstantiationException.asciidoc[]
include::IntBinaryOperator.asciidoc[]
include::IntConsumer.asciidoc[]
include::IntFunction.asciidoc[]
include::IntPredicate.asciidoc[]
include::IntStream.asciidoc[]
include::IntStream.Builder.asciidoc[]
include::IntSummaryStatistics.asciidoc[]
include::IntSupplier.asciidoc[]
include::IntToDoubleFunction.asciidoc[]
include::IntToLongFunction.asciidoc[]
include::IntUnaryOperator.asciidoc[]
include::Integer.asciidoc[]
include::InterruptedException.asciidoc[]
include::IsoChronology.asciidoc[]
include::IsoEra.asciidoc[]
include::IsoFields.asciidoc[]
include::Iterable.asciidoc[]
include::Iterator.asciidoc[]
include::JapaneseChronology.asciidoc[]
include::JapaneseDate.asciidoc[]
include::JapaneseEra.asciidoc[]
include::JulianFields.asciidoc[]
include::LinkedHashMap.asciidoc[]
include::LinkedHashSet.asciidoc[]
include::LinkedList.asciidoc[]
include::List.asciidoc[]
include::ListIterator.asciidoc[]
include::LocalDate.asciidoc[]
include::LocalDateTime.asciidoc[]
include::LocalTime.asciidoc[]
include::Locale.asciidoc[]
include::Locale.Builder.asciidoc[]
include::Locale.Category.asciidoc[]
include::Locale.FilteringMode.asciidoc[]
include::Locale.LanguageRange.asciidoc[]
include::Long.asciidoc[]
include::LongBinaryOperator.asciidoc[]
include::LongConsumer.asciidoc[]
include::LongFunction.asciidoc[]
include::LongPredicate.asciidoc[]
include::LongStream.asciidoc[]
include::LongStream.Builder.asciidoc[]
include::LongSummaryStatistics.asciidoc[]
include::LongSupplier.asciidoc[]
include::LongToDoubleFunction.asciidoc[]
include::LongToIntFunction.asciidoc[]
include::LongUnaryOperator.asciidoc[]
include::Map.asciidoc[]
include::Map.Entry.asciidoc[]
include::Matcher.asciidoc[]
include::Math.asciidoc[]
include::MathContext.asciidoc[]
include::MessageFormat.asciidoc[]
include::MessageFormat.Field.asciidoc[]
include::MinguoChronology.asciidoc[]
include::MinguoDate.asciidoc[]
include::MinguoEra.asciidoc[]
include::MissingFormatArgumentException.asciidoc[]
include::MissingFormatWidthException.asciidoc[]
include::MissingResourceException.asciidoc[]
include::Month.asciidoc[]
include::MonthDay.asciidoc[]
include::NavigableMap.asciidoc[]
include::NavigableSet.asciidoc[]
include::NegativeArraySizeException.asciidoc[]
include::NoSuchElementException.asciidoc[]
include::NoSuchFieldException.asciidoc[]
include::NoSuchMethodException.asciidoc[]
include::Normalizer.asciidoc[]
include::Normalizer.Form.asciidoc[]
include::NullPointerException.asciidoc[]
include::Number.asciidoc[]
include::NumberFormat.asciidoc[]
include::NumberFormat.Field.asciidoc[]
include::NumberFormatException.asciidoc[]
include::ObjDoubleConsumer.asciidoc[]
include::ObjIntConsumer.asciidoc[]
include::ObjLongConsumer.asciidoc[]
include::Object.asciidoc[]
include::Objects.asciidoc[]
include::Observable.asciidoc[]
include::Observer.asciidoc[]
include::OffsetDateTime.asciidoc[]
include::OffsetTime.asciidoc[]
include::Optional.asciidoc[]
include::OptionalDouble.asciidoc[]
include::OptionalInt.asciidoc[]
include::OptionalLong.asciidoc[]
include::ParseException.asciidoc[]
include::ParsePosition.asciidoc[]
include::Pattern.asciidoc[]
include::Period.asciidoc[]
include::Predicate.asciidoc[]
include::PrimitiveIterator.asciidoc[]
include::PrimitiveIterator.OfDouble.asciidoc[]
include::PrimitiveIterator.OfInt.asciidoc[]
include::PrimitiveIterator.OfLong.asciidoc[]
include::PriorityQueue.asciidoc[]
include::Queue.asciidoc[]
include::Random.asciidoc[]
include::RandomAccess.asciidoc[]
include::ReflectiveOperationException.asciidoc[]
include::ResolverStyle.asciidoc[]
include::RoundingMode.asciidoc[]
include::RuleBasedCollator.asciidoc[]
include::RuntimeException.asciidoc[]
include::SecurityException.asciidoc[]
include::Set.asciidoc[]
include::Short.asciidoc[]
include::SignStyle.asciidoc[]
include::SimpleDateFormat.asciidoc[]
include::SimpleTimeZone.asciidoc[]
include::SortedMap.asciidoc[]
include::SortedSet.asciidoc[]
include::Spliterator.asciidoc[]
include::Spliterator.OfDouble.asciidoc[]
include::Spliterator.OfInt.asciidoc[]
include::Spliterator.OfLong.asciidoc[]
include::Spliterator.OfPrimitive.asciidoc[]
include::Spliterators.asciidoc[]
include::Stack.asciidoc[]
include::StackTraceElement.asciidoc[]
include::Stream.asciidoc[]
include::Stream.Builder.asciidoc[]
include::StrictMath.asciidoc[]
include::String.asciidoc[]
include::StringBuffer.asciidoc[]
include::StringBuilder.asciidoc[]
include::StringCharacterIterator.asciidoc[]
include::StringIndexOutOfBoundsException.asciidoc[]
include::StringJoiner.asciidoc[]
include::StringTokenizer.asciidoc[]
include::Supplier.asciidoc[]
include::System.asciidoc[]
include::Temporal.asciidoc[]
include::TemporalAccessor.asciidoc[]
include::TemporalAdjuster.asciidoc[]
include::TemporalAdjusters.asciidoc[]
include::TemporalAmount.asciidoc[]
include::TemporalField.asciidoc[]
include::TemporalQueries.asciidoc[]
include::TemporalQuery.asciidoc[]
include::TemporalUnit.asciidoc[]
include::TextStyle.asciidoc[]
include::ThaiBuddhistChronology.asciidoc[]
include::ThaiBuddhistDate.asciidoc[]
include::ThaiBuddhistEra.asciidoc[]
include::TimeZone.asciidoc[]
include::ToDoubleBiFunction.asciidoc[]
include::ToDoubleFunction.asciidoc[]
include::ToIntBiFunction.asciidoc[]
include::ToIntFunction.asciidoc[]
include::ToLongBiFunction.asciidoc[]
include::ToLongFunction.asciidoc[]
include::TooManyListenersException.asciidoc[]
include::TreeMap.asciidoc[]
include::TreeSet.asciidoc[]
include::TypeNotPresentException.asciidoc[]
include::UUID.asciidoc[]
include::UnaryOperator.asciidoc[]
include::UnknownFormatConversionException.asciidoc[]
include::UnknownFormatFlagsException.asciidoc[]
include::UnsupportedOperationException.asciidoc[]
include::UnsupportedTemporalTypeException.asciidoc[]
include::ValueRange.asciidoc[]
include::Vector.asciidoc[]
include::WeekFields.asciidoc[]
include::Year.asciidoc[]
include::YearMonth.asciidoc[]
include::ZoneId.asciidoc[]
include::ZoneOffset.asciidoc[]
include::ZoneOffsetTransition.asciidoc[]
include::ZoneOffsetTransitionRule.asciidoc[]
include::ZoneOffsetTransitionRule.TimeDefinition.asciidoc[]
include::ZoneRules.asciidoc[]
include::ZoneRulesException.asciidoc[]
include::ZoneRulesProvider.asciidoc[]
include::ZonedDateTime.asciidoc[]
include::org.elasticsearch.common.geo.GeoPoint.asciidoc[]
include::org.elasticsearch.index.fielddata.ScriptDocValues.Booleans.asciidoc[]
include::org.elasticsearch.index.fielddata.ScriptDocValues.BytesRefs.asciidoc[]
include::org.elasticsearch.index.fielddata.ScriptDocValues.Doubles.asciidoc[]
include::org.elasticsearch.index.fielddata.ScriptDocValues.GeoPoints.asciidoc[]
include::org.elasticsearch.index.fielddata.ScriptDocValues.Longs.asciidoc[]
include::org.elasticsearch.index.fielddata.ScriptDocValues.Strings.asciidoc[]
include::org.elasticsearch.index.mapper.IpFieldMapper.IpFieldType.IpScriptDocValues.asciidoc[]
include::org.elasticsearch.painless.FeatureTest.asciidoc[]
include::org.joda.time.ReadableDateTime.asciidoc[]
include::org.joda.time.ReadableInstant.asciidoc[]