ToXContent
AdjacencyMatrix
, Aggregation
, Avg
, BucketMetricValue
, Cardinality
, ClusterState.Custom
, CompositeAggregation
, Derivative
, ExtendedStats
, ExtendedStatsBucket
, Filter
, Filters
, GeoBounds
, GeoCentroid
, GeoHashGrid
, Global
, Histogram
, Max
, MetaData.Custom
, Min
, Missing
, MovAvgModelBuilder
, MultiBucketsAggregation
, Nested
, NumericMetricsAggregation
, NumericMetricsAggregation.MultiValue
, NumericMetricsAggregation.SingleValue
, PercentileRanks
, Percentiles
, PercentilesBucket
, Range
, ReverseNested
, Sampler
, ScriptedMetric
, SignificanceHeuristicBuilder
, SignificantTerms
, SimpleValue
, SingleBucketAggregation
, Stats
, StatsBucket
, Sum
, Terms
, TopHits
, ValueCount
AbstractAggregationBuilder
, AbstractAllocationDecision
, AbstractPipelineAggregationBuilder
, AbstractRangeBuilder
, ActionNotFoundTransportException
, ActionTransportException
, AdaptiveSelectionStats
, AdjacencyMatrixAggregationBuilder
, AdjacencyMatrixAggregator.KeyedFilter
, AggregationBuilder
, AggregationExecutionException
, AggregationInitializationException
, AggregationProfileShardResult
, Aggregations
, AliasesNotFoundException
, AliasFilterParsingException
, AllCircuitBreakerStats
, AllFieldMapper
, AllocateUnassignedDecision
, AllocationCommands
, AvgAggregationBuilder
, AvgBucketPipelineAggregationBuilder
, BinaryFieldMapper
, BindHttpException
, BindTransportException
, BlobStoreException
, BlobStoreIndexShardSnapshot
, BlobStoreIndexShardSnapshots
, BooleanFieldMapper
, BroadcastShardOperationFailedException
, BucketMetricsPipelineAggregationBuilder
, BucketScriptPipelineAggregationBuilder
, BucketSelectorPipelineAggregationBuilder
, BucketSortPipelineAggregationBuilder
, BulkByScrollResponse
, BulkItemResponse.Failure
, CancellableThreads.ExecutionCancelledException
, CardinalityAggregationBuilder
, CategoryContextMapping
, ChiSquare
, ChiSquare.ChiSquareBuilder
, CircuitBreakingException
, ClusterBlock
, ClusterBlockException
, ClusterIndexHealth
, ClusterInfo
, ClusterState
, ClusterStatsIndices
, ClusterStatsIndices.ShardStats
, ClusterStatsNodes
, ClusterStatsNodes.Counts
, ClusterStatsNodes.JvmStats
, ClusterStatsNodes.OsStats
, ClusterStatsNodes.ProcessStats
, ClusterStatsResponse
, CommitStats
, CommonStats
, CompletionFieldMapper
, CompletionStats
, CompletionSuggestion
, CompletionSuggestionBuilder
, CompositeAggregationBuilder
, CompositeValuesSourceBuilder
, ConcurrentSnapshotExecutionException
, ConnectTransportException
, ContextMapping
, CumulativeSumPipelineAggregationBuilder
, DateFieldMapper
, DateHistogramAggregationBuilder
, DateHistogramValuesSourceBuilder
, DateRangeAggregationBuilder
, DecayFunctionBuilder
, DelayRecoveryException
, DeleteFailedEngineException
, DerivativePipelineAggregationBuilder
, DetailAnalyzeResponse
, DfsPhaseExecutionException
, Discovery.FailedToCommitClusterStateException
, DiscoveryNode
, DiscoveryStats
, DiskUsage
, DiversifiedAggregationBuilder
, DocsStats
, DocumentField
, DocumentMapper
, DocumentMissingException
, DocumentSourceMissingException
, DoubleTerms
, DummyOsInfo
, ElasticsearchException
, ElasticsearchGenerationException
, ElasticsearchParseException
, ElasticsearchSecurityException
, ElasticsearchStatusException
, ElasticsearchTimeoutException
, EngineCreationFailureException
, EngineException
, EsRejectedExecutionException
, EwmaModel
, EwmaModel.EWMAModelBuilder
, ExponentialDecayFunctionBuilder
, ExtendedBounds
, ExtendedStatsAggregationBuilder
, ExtendedStatsBucketPipelineAggregationBuilder
, FailedNodeException
, FetchPhaseExecutionException
, FieldCapabilitiesResponse
, FieldDataStats
, FieldMapper
, FieldNamesFieldMapper
, FieldValueFactorFunctionBuilder
, FilterAggregationBuilder
, FiltersAggregationBuilder
, FiltersAggregator.KeyedFilter
, FlushFailedEngineException
, FlushStats
, FsInfo
, FsInfo.DeviceStats
, FsInfo.IoStats
, Fuzziness
, FuzzyOptions
, GatewayException
, GaussDecayFunctionBuilder
, GeneralScriptException
, GeoBoundsAggregationBuilder
, GeoCentroidAggregationBuilder
, GeoContextMapping
, GeoDistanceAggregationBuilder
, GeoGridAggregationBuilder
, GeoPointFieldMapper
, GeoShapeFieldMapper
, GetFieldMappingsResponse
, GetFieldMappingsResponse.FieldMappingMetaData
, GetStats
, GlobalAggregationBuilder
, GND
, GND.GNDBuilder
, HighlightField
, HistogramAggregationBuilder
, HistogramValuesSourceBuilder
, HoltLinearModel
, HoltLinearModel.HoltLinearModelBuilder
, HoltWintersModel
, HoltWintersModel.HoltWintersModelBuilder
, HttpException
, HttpInfo
, HttpStats
, IdFieldMapper
, IllegalIndexShardStateException
, IllegalShardRoutingStateException
, IncludeExclude
, IncompatibleClusterStateVersionException
, IndexClosedException
, IndexCreationException
, IndexFailedEngineException
, IndexFieldMapper
, IndexGraveyard
, IndexingStats
, IndexingStats.Stats
, IndexMetaData
, IndexNotFoundException
, IndexPrimaryShardNotAllocatedException
, IndexShardClosedException
, IndexShardNotRecoveringException
, IndexShardNotStartedException
, IndexShardRecoveringException
, IndexShardRecoveryException
, IndexShardRelocatedException
, IndexShardRestoreException
, IndexShardRestoreFailedException
, IndexShardSnapshotException
, IndexShardSnapshotFailedException
, IndexShardStartedException
, IndexTemplateMissingException
, IndicesSegmentResponse
, IndicesShardStoresResponse
, IndicesShardStoresResponse.StoreStatus
, IndicesStatsResponse
, IngestInfo
, IngestMetadata
, IngestStats
, IngestStats.Stats
, InternalAdjacencyMatrix
, InternalAggregation
, InternalAggregations
, InternalAvg
, InternalBinaryRange
, InternalBucketMetricValue
, InternalCardinality
, InternalComposite
, InternalDateHistogram
, InternalDateRange
, InternalDerivative
, InternalExtendedStats
, InternalExtendedStatsBucket
, InternalFilter
, InternalFilters
, InternalGeoBounds
, InternalGeoCentroid
, InternalGeoDistance
, InternalGeoHashGrid
, InternalGlobal
, InternalHDRPercentileRanks
, InternalHDRPercentiles
, InternalHistogram
, InternalMappedSignificantTerms
, InternalMappedTerms
, InternalMax
, InternalMin
, InternalMissing
, InternalMultiBucketAggregation
, InternalNested
, InternalNumericMetricsAggregation
, InternalNumericMetricsAggregation.MultiValue
, InternalNumericMetricsAggregation.SingleValue
, InternalPercentilesBucket
, InternalRange
, InternalReverseNested
, InternalSampler
, InternalScriptedMetric
, InternalSearchResponse
, InternalSignificantTerms
, InternalSimpleValue
, InternalSingleBucketAggregation
, InternalStats
, InternalStatsBucket
, InternalSum
, InternalTDigestPercentileRanks
, InternalTDigestPercentiles
, InternalTerms
, InternalTopHits
, InternalValueCount
, InvalidAggregationPathException
, InvalidAliasNameException
, InvalidIndexNameException
, InvalidIndexTemplateException
, InvalidSnapshotNameException
, InvalidTypeNameException
, IpFieldMapper
, IpRangeAggregationBuilder
, JLHScore
, JLHScore.JLHScoreBuilder
, JvmInfo
, JvmStats
, KeywordFieldMapper
, Laplace
, LinearDecayFunctionBuilder
, LinearInterpolation
, LinearModel
, LinearModel.LinearModelBuilder
, LongTerms
, Mapper
, MapperException
, MapperParsingException
, Mapping
, MasterNotDiscoveredException
, MaxAggregationBuilder
, MaxBucketPipelineAggregationBuilder
, MergeStats
, MetaData
, MetadataFieldMapper
, MinAggregationBuilder
, MinBucketPipelineAggregationBuilder
, MissingAggregationBuilder
, MovAvgModel
, MovAvgPipelineAggregationBuilder
, MoveDecision
, MultiBucketConsumerService.TooManyBucketsException
, MutualInformation
, MutualInformation.MutualInformationBuilder
, NamedXContentRegistry.UnknownNamedObjectException
, NestedAggregationBuilder
, NoClassSettingsException
, NodeAllocationResult.ShardStoreInfo
, NodeClosedException
, NodeDisconnectedException
, NodeIndicesStats
, NodeNotConnectedException
, NodeShouldNotConnectException
, NodesInfoResponse
, NodesStatsResponse
, NodeStats
, NodesUsageResponse
, NodeUsage
, NoNodeAvailableException
, NoShardAvailableActionException
, NoSuchNodeException
, NotMasterException
, NotSerializableExceptionWrapper
, NotSerializableTransportException
, NumberFieldMapper
, NXYSignificanceHeuristic
, NXYSignificanceHeuristic.NXYBuilder
, ObjectMapper
, OsInfo
, OsStats
, OsStats.Cgroup
, OsStats.Cgroup.CpuStat
, OsStats.Cpu
, OsStats.Mem
, OsStats.Swap
, ParentFieldMapper
, ParsedAdjacencyMatrix
, ParsedAggregation
, ParsedAvg
, ParsedBinaryRange
, ParsedBucketMetricValue
, ParsedCardinality
, ParsedComposite
, ParsedDateHistogram
, ParsedDateRange
, ParsedDerivative
, ParsedDoubleTerms
, ParsedExtendedStats
, ParsedExtendedStatsBucket
, ParsedFilter
, ParsedFilters
, ParsedGeoBounds
, ParsedGeoCentroid
, ParsedGeoDistance
, ParsedGeoHashGrid
, ParsedGlobal
, ParsedHDRPercentileRanks
, ParsedHDRPercentiles
, ParsedHistogram
, ParsedLongTerms
, ParsedMax
, ParsedMin
, ParsedMissing
, ParsedMultiBucketAggregation
, ParsedNested
, ParsedPercentileRanks
, ParsedPercentiles
, ParsedPercentilesBucket
, ParsedRange
, ParsedReverseNested
, ParsedSampler
, ParsedScriptedMetric
, ParsedSignificantLongTerms
, ParsedSignificantStringTerms
, ParsedSignificantTerms
, ParsedSimpleValue
, ParsedSingleBucketAggregation
, ParsedSingleValueNumericMetricsAggregation
, ParsedStats
, ParsedStatsBucket
, ParsedStringTerms
, ParsedSum
, ParsedTDigestPercentileRanks
, ParsedTDigestPercentiles
, ParsedTerms
, ParsedTopHits
, ParsedValueCount
, ParsingException
, PendingClusterStateStats
, PercentageScore
, PercentageScore.PercentageScoreBuilder
, PercentileRanksAggregationBuilder
, PercentilesAggregationBuilder
, PercentilesBucketPipelineAggregationBuilder
, PhraseSuggestion
, PhraseSuggestionBuilder
, PipelineAggregationBuilder
, PluginsAndModules
, PrimaryMissingActionException
, ProcessClusterEventTimeoutException
, ProcessInfo
, ProcessStats
, QueryCacheStats
, QueryPhaseExecutionException
, QueryShardException
, RandomScoreFunctionBuilder
, RangeAggregationBuilder
, RangeFieldMapper
, ReceiveTimeoutTransportException
, RecoverFilesRecoveryException
, RecoveryEngineException
, RecoveryFailedException
, RecoveryResponse
, RecoveryState
, RecoveryState.Index
, RecoveryState.Translog
, RecoveryState.VerifyIndex
, RecoveryStats
, ReduceSearchPhaseException
, RefreshFailedEngineException
, RefreshStats
, RegexOptions
, RemoteConnectionInfo
, RemoteTransportException
, ReplicationOperation.RetryOnPrimaryException
, RepositoriesMetaData
, RepositoryException
, RepositoryMissingException
, RepositoryVerificationException
, RequestCacheStats
, ResourceAlreadyExistsException
, ResourceNotFoundException
, ResponseHandlerFailureTransportException
, RestoreInProgress
, ReverseNestedAggregationBuilder
, RootObjectMapper
, RoutingException
, RoutingExplanations
, RoutingFieldMapper
, RoutingMissingException
, SamplerAggregationBuilder
, ScoreFunctionBuilder
, ScriptedMetricAggregationBuilder
, ScriptException
, ScriptHeuristic
, ScriptMetaData
, ScriptScoreFunctionBuilder
, ScriptStats
, SearchContextException
, SearchContextMissingException
, SearchException
, SearchExtBuilder
, SearchHit.NestedIdentity
, SearchHits
, SearchParseException
, SearchPhaseExecutionException
, SearchProfileShardResults
, SearchResponseSections
, SearchSortValues
, SearchSourceBuilder.ScriptField
, SearchSourceBuilderException
, SearchStats
, SearchStats.Stats
, SegmentsStats
, SendRequestTransportException
, SeqNoFieldMapper
, SeqNoStats
, SerialDiffPipelineAggregationBuilder
, Settings
, SettingsException
, ShardAllocationDecision
, ShardLockObtainFailedException
, ShardNotFoundException
, ShardStateAction.NoLongerPrimaryShardException
, ShardStats
, SignificanceHeuristic
, SignificantLongTerms
, SignificantStringTerms
, SignificantTermsAggregationBuilder
, SignificantTextAggregationBuilder
, SimpleModel
, SimpleModel.SimpleModelBuilder
, SmoothingModel
, SnapshotCreationException
, SnapshotDeletionsInProgress
, SnapshotException
, SnapshotFailedEngineException
, SnapshotIndexShardStatus
, SnapshotIndexStatus
, SnapshotMissingException
, SnapshotRestoreException
, SnapshotShardsStats
, SnapshotsInProgress
, SnapshotStats
, SourceFieldMapper
, StatsAggregationBuilder
, StatsBucketPipelineAggregationBuilder
, StoreStats
, StrictDynamicMappingException
, StringTerms
, StupidBackoff
, Suggest
, Suggest.Suggestion
, SuggestionBuilder
, SumAggregationBuilder
, SumBucketPipelineAggregationBuilder
, SyncedFlushResponse
, TaskCancelledException
, TaskInfo
, TaskOperationFailure
, TcpTransport.HttpOnTransportException
, TermsAggregationBuilder
, TermsAggregator.BucketCountThresholds
, TermsLookup
, TermSuggestion
, TermSuggestionBuilder
, TermsValuesSourceBuilder
, TextFieldMapper
, ThreadPool.Info
, ThreadPoolInfo
, ThreadPoolStats
, ThreadPoolStats.Stats
, TimestampParsingException
, TopHitsAggregationBuilder
, TranslogCorruptedException
, TranslogException
, TranslogStats
, TransportException
, TransportInfo
, TransportReplicationAction.RetryOnReplicaException
, TransportSerializationException
, TransportStats
, TruncatedTranslogException
, TypeFieldMapper
, TypeMissingException
, UidFieldMapper
, UnassignedInfo
, UnavailableShardsException
, UncategorizedExecutionException
, UnmappedSampler
, UnmappedSignificantTerms
, UnmappedTerms
, UpgradeStatusResponse
, ValueCountAggregationBuilder
, ValuesSourceAggregationBuilder
, ValuesSourceAggregationBuilder.LeafOnly
, VersionConflictEngineException
, VersionFieldMapper
, WarmerStats
, WeightBuilder
public interface ToXContentFragment extends ToXContent
XContentBuilder
. The difference between ToXContentFragment
and ToXContentObject
is that the former outputs a fragment that
requires to start and end a new anonymous object externally, while the latter
guarantees that what gets printed out is fully valid syntax without any
external addition.ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Modifier and Type | Method | Description |
---|---|---|
default boolean |
isFragment() |
toXContent
default boolean isFragment()
isFragment
in interface ToXContent