Interface ToXContentFragment
-
- All Superinterfaces:
ToXContent
- All Known Subinterfaces:
AdjacencyMatrix,Aggregation,Avg,BucketMetricValue,Cardinality,ClusterState.Custom,CompositeAggregation,DateHistogramGroupSource.Interval,Derivative,ExtendedStats,ExtendedStatsBucket,Filter,Filters,GeoBounds,GeoCentroid,GeoGrid,Global,Histogram,Max,MedianAbsoluteDeviation,MetaData.Custom,Min,Missing,MovAvgModelBuilder,MultiBucketsAggregation,Nested,NumericMetricsAggregation,NumericMetricsAggregation.MultiValue,NumericMetricsAggregation.SingleValue,PercentileRanks,Percentiles,PercentilesBucket,Range,RareTerms,ReverseNested,Sampler,ScriptedMetric,SignificanceHeuristicBuilder,SignificantTerms,SimpleValue,SingleBucketAggregation,Stats,StatsBucket,Sum,Terms,TopHits,ValueCount,WeightedAvg
- All Known Implementing Classes:
AbstractAggregationBuilder,AbstractAllocationDecision,AbstractGeometryFieldMapper,AbstractPipelineAggregationBuilder,AbstractRangeBuilder,ActionNotFoundTransportException,ActionTransportException,AdaptiveSelectionStats,AdjacencyMatrixAggregationBuilder,AdjacencyMatrixAggregator.KeyedFilter,AggregationBuilder,AggregationExecutionException,AggregationInitializationException,AggregationProfileShardResult,Aggregations,Alias,AliasesNotFoundException,AliasFilterParsingException,AliasMetaData,AllCircuitBreakerStats,AllFieldMapper,AllocateUnassignedDecision,AllocationCommands,AnalyzeAction.DetailAnalyzeResponse,AutoDateHistogramAggregationBuilder,AvgAggregationBuilder,AvgBucketPipelineAggregationBuilder,BinaryFieldMapper,BindHttpException,BindTransportException,BlobStoreException,BlobStoreIndexShardSnapshot,BlobStoreIndexShardSnapshots,BooleanFieldMapper,BroadcastShardOperationFailedException,BucketMetricsPipelineAggregationBuilder,BucketScriptPipelineAggregationBuilder,BucketSelectorPipelineAggregationBuilder,BucketSortPipelineAggregationBuilder,BulkByScrollResponse,BulkItemResponse.Failure,ByteBufferReference,BytesArray,ByteSizeValue,BytesReference,CancellableThreads.ExecutionCancelledException,CardinalityAggregationBuilder,CategorizationAnalyzerConfig,CategorizationAnalyzerConfig.NameOrDefinition,CategoryContextMapping,ChiSquare,ChiSquare.ChiSquareBuilder,CircuitBreakingException,CloseIndexResponse.IndexResult,CloseIndexResponse.ShardResult,ClusterBlock,ClusterBlockException,ClusterIndexHealth,ClusterInfo,ClusterShardHealth,ClusterState,ClusterStatsIndices,ClusterStatsIndices.ShardStats,ClusterStatsNodes,ClusterStatsNodes.Counts,ClusterStatsNodes.JvmStats,ClusterStatsNodes.OsStats,ClusterStatsNodes.ProcessStats,ClusterStatsResponse,CommitStats,CommonStats,CompletionFieldMapper,CompletionStats,CompletionSuggestion,CompletionSuggestion.Entry,CompletionSuggestion.Entry.Option,CompletionSuggestionBuilder,CompositeAggregationBuilder,CompositeBytesReference,CompositeValuesSourceBuilder,ConcurrentSnapshotExecutionException,Condition,ConnectTransportException,ContextMapping,CoordinationMetaData,CoordinationMetaData.VotingConfigExclusion,CoordinationMetaData.VotingConfiguration,CoordinationStateRejectedException,CumulativeSumPipelineAggregationBuilder,DateFieldMapper,DateHistogramAggregationBuilder,DateHistogramGroupSource.CalendarInterval,DateHistogramGroupSource.FixedInterval,DateHistogramInterval,DateHistogramValuesSourceBuilder,DateIntervalWrapper,DateRangeAggregationBuilder,DecayFunctionBuilder,Decision.Multi,DelayRecoveryException,DerivativePipelineAggregationBuilder,DfsPhaseExecutionException,DiscoveryNode,DiscoveryStats,DiskUsage,DiversifiedAggregationBuilder,DocsStats,DocumentField,DocumentMapper,DocumentMissingException,DocumentSourceMissingException,DoubleTerms,DynamicKeyFieldMapper,ElasticsearchException,ElasticsearchGenerationException,ElasticsearchParseException,ElasticsearchSecurityException,ElasticsearchStatusException,ElasticsearchTimeoutException,EngineCreationFailureException,EngineException,EvalQueryQuality,EwmaModel,EwmaModel.EWMAModelBuilder,ExponentialDecayFunctionBuilder,ExtendedBounds,ExtendedStatsAggregationBuilder,ExtendedStatsBucketPipelineAggregationBuilder,FailedNodeException,FailedToCommitClusterStateException,FetchPhaseExecutionException,FieldAliasMapper,FieldDataStats,FieldMapper,FieldNamesFieldMapper,FieldValueFactorFunctionBuilder,FilterAggregationBuilder,FiltersAggregationBuilder,FiltersAggregator.KeyedFilter,FindFileStructureRequest,FlushFailedEngineException,FlushStats,FsInfo,FsInfo.DeviceStats,FsInfo.IoStats,Fuzziness,FuzzyOptions,GatewayException,GaussDecayFunctionBuilder,GeneralScriptException,GeoBoundsAggregationBuilder,GeoCentroidAggregationBuilder,GeoContextMapping,GeoDistanceAggregationBuilder,GeoGridAggregationBuilder,GeoHashGridAggregationBuilder,GeoPoint,GeoPointFieldMapper,GeoShapeFieldMapper,GeoTileGridAggregationBuilder,GeoTileGridValuesSourceBuilder,GetFieldMappingsResponse.FieldMappingMetaData,GetMappingsResponse,GetStats,GlobalAggregationBuilder,GND,GND.GNDBuilder,HighlightField,HistogramAggregationBuilder,HistogramValuesSourceBuilder,HoltLinearModel,HoltLinearModel.HoltLinearModelBuilder,HoltWintersModel,HoltWintersModel.HoltWintersModelBuilder,Hop,HttpException,HttpInfo,HttpStats,IdFieldMapper,IgnoredFieldMapper,IllegalIndexShardStateException,IllegalShardRoutingStateException,IncludeExclude,IncompatibleClusterStateVersionException,IndexClosedException,IndexCreationException,IndexFieldMapper,IndexGraveyard,IndexingStats,IndexingStats.Stats,IndexMetaData,IndexNotFoundException,IndexPrimaryShardNotAllocatedException,IndexShardClosedException,IndexShardNotRecoveringException,IndexShardNotStartedException,IndexShardRecoveringException,IndexShardRecoveryException,IndexShardRelocatedException,IndexShardRestoreException,IndexShardRestoreFailedException,IndexShardSnapshotException,IndexShardSnapshotFailedException,IndexShardStartedException,IndexTemplateMissingException,IndicesOptions,IndicesShardStoresResponse,IndicesShardStoresResponse.StoreStatus,IngestInfo,IngestMetadata,IngestProcessorException,IngestStats,IngestStats.Stats,InternalAdjacencyMatrix,InternalAggregation,InternalAggregations,InternalAutoDateHistogram,InternalAvg,InternalBinaryRange,InternalBucketMetricValue,InternalCardinality,InternalComposite,InternalDateHistogram,InternalDateRange,InternalDerivative,InternalExtendedStats,InternalExtendedStatsBucket,InternalFilter,InternalFilters,InternalGeoBounds,InternalGeoCentroid,InternalGeoDistance,InternalGeoGrid,InternalGeoHashGrid,InternalGeoTileGrid,InternalGlobal,InternalHDRPercentileRanks,InternalHDRPercentiles,InternalHistogram,InternalMappedRareTerms,InternalMappedSignificantTerms,InternalMappedTerms,InternalMax,InternalMedianAbsoluteDeviation,InternalMin,InternalMissing,InternalMultiBucketAggregation,InternalNested,InternalNumericMetricsAggregation,InternalNumericMetricsAggregation.MultiValue,InternalNumericMetricsAggregation.SingleValue,InternalPercentilesBucket,InternalRange,InternalRareTerms,InternalReverseNested,InternalSampler,InternalScriptedMetric,InternalSearchResponse,InternalSignificantTerms,InternalSimpleValue,InternalSingleBucketAggregation,InternalStats,InternalStatsBucket,InternalSum,InternalTDigestPercentileRanks,InternalTDigestPercentiles,InternalTerms,InternalTopHits,InternalValueCount,InternalWeightedAvg,IntervalsSourceProvider,IntervalsSourceProvider.Combine,IntervalsSourceProvider.Disjunction,IntervalsSourceProvider.Match,IntervalsSourceProvider.Prefix,IntervalsSourceProvider.Wildcard,InvalidAggregationPathException,InvalidAliasNameException,InvalidIndexNameException,InvalidIndexTemplateException,InvalidSnapshotNameException,InvalidTypeNameException,IpFieldMapper,IpRangeAggregationBuilder,JLHScore,JLHScore.JLHScoreBuilder,JvmInfo,JvmStats,KeywordFieldMapper,Laplace,LegacyGeoShapeFieldMapper,LinearDecayFunctionBuilder,LinearInterpolation,LinearModel,LinearModel.LinearModelBuilder,LongRareTerms,LongTerms,Manifest,Mapper,MapperException,MapperParsingException,Mapping,MasterNotDiscoveredException,MaxAgeCondition,MaxAggregationBuilder,MaxBucketPipelineAggregationBuilder,MaxDocsCondition,MaxSizeCondition,MedianAbsoluteDeviationAggregationBuilder,MergeStats,MetaData,MetaData.UnknownGatewayOnlyCustom,MetadataFieldMapper,MinAggregationBuilder,MinBucketPipelineAggregationBuilder,MissingAggregationBuilder,MovAvgModel,MovAvgPipelineAggregationBuilder,MoveDecision,MovFnPipelineAggregationBuilder,MultiBucketConsumerService.TooManyBucketsException,MultiValuesSourceAggregationBuilder,MultiValuesSourceAggregationBuilder.LeafOnly,MutualInformation,MutualInformation.MutualInformationBuilder,NameOrDefinition,NestedAggregationBuilder,NoClassSettingsException,NodeAllocationResult.ShardStoreInfo,NodeClosedException,NodeDisconnectedException,NodeIndicesStats,NodeNotConnectedException,NodeShouldNotConnectException,NodesInfoResponse,NodesReloadSecureSettingsResponse,NodesStatsResponse,NodeStats,NodesUsageResponse,NodeUsage,NoNodeAvailableException,NoShardAvailableActionException,NoSuchNodeException,NoSuchRemoteClusterException,NotMasterException,NotSerializableExceptionWrapper,NotSerializableTransportException,NumberFieldMapper,NXYSignificanceHeuristic,NXYSignificanceHeuristic.NXYBuilder,ObjectMapper,OsInfo,OsStats,OsStats.Cgroup,OsStats.Cgroup.CpuStat,OsStats.Cpu,OsStats.Mem,OsStats.Swap,PagedBytesReference,ParsedAdjacencyMatrix,ParsedAggregation,ParsedAutoDateHistogram,ParsedAvg,ParsedBinaryRange,ParsedBucketMetricValue,ParsedCardinality,ParsedComposite,ParsedDateHistogram,ParsedDateRange,ParsedDerivative,ParsedDoubleTerms,ParsedExtendedStats,ParsedExtendedStatsBucket,ParsedFilter,ParsedFilters,ParsedGeoBounds,ParsedGeoCentroid,ParsedGeoDistance,ParsedGeoGrid,ParsedGeoHashGrid,ParsedGeoTileGrid,ParsedGlobal,ParsedHDRPercentileRanks,ParsedHDRPercentiles,ParsedHistogram,ParsedLongTerms,ParsedMax,ParsedMedianAbsoluteDeviation,ParsedMin,ParsedMissing,ParsedMultiBucketAggregation,ParsedNested,ParsedPercentiles,ParsedPercentilesBucket,ParsedRange,ParsedReverseNested,ParsedSampler,ParsedScriptedMetric,ParsedSignificantLongTerms,ParsedSignificantStringTerms,ParsedSignificantTerms,ParsedSimpleValue,ParsedSingleBucketAggregation,ParsedSingleValueNumericMetricsAggregation,ParsedStats,ParsedStatsBucket,ParsedStringTerms,ParsedSum,ParsedTDigestPercentileRanks,ParsedTDigestPercentiles,ParsedTerms,ParsedTopHits,ParsedValueCount,ParsedWeightedAvg,ParsingException,PendingClusterStateStats,PercentageScore,PercentageScore.PercentageScoreBuilder,PercentileRanksAggregationBuilder,PercentilesAggregationBuilder,PercentilesBucketPipelineAggregationBuilder,PersistentTasksCustomMetaData,PhraseSuggestion,PhraseSuggestion.Entry,PhraseSuggestion.Entry.Option,PhraseSuggestionBuilder,PipelineAggregationBuilder,PluginsAndModules,PrimaryMissingActionException,ProcessClusterEventTimeoutException,ProcessInfo,ProcessStats,PutIndexTemplateRequest,PutStoredScriptRequest,QueryCacheStats,QueryExplanation,QueryPhaseExecutionException,QueryShardException,RandomScoreFunctionBuilder,RangeAggregationBuilder,RangeFieldMapper,RareTermsAggregationBuilder,ReceiveTimeoutTransportException,RecoverFilesRecoveryException,RecoveryEngineException,RecoveryFailedException,RecoveryState,RecoveryState.Index,RecoveryState.Translog,RecoveryState.VerifyIndex,RecoveryStats,ReduceSearchPhaseException,RefreshFailedEngineException,RefreshStats,RegexOptions,ReleasablePagedBytesReference,RemoteConnectionInfo,RemoteTransportException,ReplicationOperation.RetryOnPrimaryException,RepositoriesMetaData,RepositoryCleanupInProgress,RepositoryException,RepositoryMissingException,RepositoryVerificationException,RequestCacheStats,ResourceAlreadyExistsException,ResourceNotFoundException,ResponseHandlerFailureTransportException,RestoreInProgress,RetentionLeaseAlreadyExistsException,RetentionLeaseInvalidRetainingSeqNoException,RetentionLeaseNotFoundException,RetentionLeases,RetentionLeaseStats,ReverseNestedAggregationBuilder,RollableIndexCaps,RolloverInfo,RollupJobCaps.RollupFieldCaps,RootObjectMapper,RoutingException,RoutingExplanations,RoutingFieldMapper,RoutingMissingException,SamplerAggregationBuilder,ScoreFunctionBuilder,ScriptedMetricAggregationBuilder,ScriptException,ScriptHeuristic,ScriptMetaData,ScriptScoreFunctionBuilder,ScriptStats,SearchContextMissingException,SearchException,SearchExtBuilder,SearchHit.NestedIdentity,SearchHits,SearchParseException,SearchPhaseExecutionException,SearchProfileShardResults,SearchResponse.Clusters,SearchResponseSections,SearchSortValues,SearchSourceBuilder.ScriptField,SearchSourceBuilderException,SearchStats,SearchStats.Stats,SegmentsStats,SendRequestTransportException,SeqNoFieldMapper,SeqNoStats,SerialDiffPipelineAggregationBuilder,Settings,SettingsException,ShardAllocationDecision,ShardId,ShardLockObtainFailedException,ShardNotFoundException,ShardNotInPrimaryModeException,ShardStateAction.NoLongerPrimaryShardException,ShardStats,SignificanceHeuristic,SignificantLongTerms,SignificantStringTerms,SignificantTermsAggregationBuilder,SignificantTextAggregationBuilder,SimpleModel,SimpleModel.SimpleModelBuilder,SmoothingModel,SnapshotCreationException,SnapshotDeletionsInProgress,SnapshotException,SnapshotFailedEngineException,SnapshotIndexShardStatus,SnapshotIndexStatus,SnapshotInProgressException,SnapshotLifecycleStats.SnapshotPolicyStats,SnapshotMissingException,SnapshotRestoreException,SnapshotsInProgress,SourceFieldMapper,StatsAggregationBuilder,StatsBucketPipelineAggregationBuilder,StoreStats,StrictDynamicMappingException,StringRareTerms,StringTerms,StupidBackoff,Suggest,Suggest.Suggestion,Suggest.Suggestion.Entry,Suggest.Suggestion.Entry.Option,SuggestionBuilder,SumAggregationBuilder,SumBucketPipelineAggregationBuilder,SyncedFlushResponse,SyncedFlushResponse.IndexResult,SyncedFlushResponse.ShardCounts,SyncedFlushResponse.ShardFailure,TaskCancelledException,TaskInfo,TaskOperationFailure,TcpTransport.HttpRequestOnTransportException,TermsAggregationBuilder,TermsAggregator.BucketCountThresholds,TermsLookup,TermSuggestion,TermSuggestion.Entry,TermSuggestion.Entry.Option,TermSuggestionBuilder,TermsValuesSourceBuilder,Text,TextFieldMapper,ThreadPool.Info,ThreadPoolInfo,ThreadPoolStats,ThreadPoolStats.Stats,TimestampParsingException,TopHitsAggregationBuilder,TranslogCorruptedException,TranslogException,TranslogStats,TransportAddress,TransportException,TransportInfo,TransportReplicationAction.RetryOnReplicaException,TransportSerializationException,TransportStats,TruncatedTranslogException,TypeFieldMapper,TypeMissingException,UnassignedInfo,UnavailableShardsException,UncategorizedExecutionException,UnknownNamedObjectException,UnmappedRareTerms,UnmappedSampler,UnmappedSignificantTerms,UnmappedTerms,ValueCountAggregationBuilder,ValuesSourceAggregationBuilder,ValuesSourceAggregationBuilder.LeafOnly,Version,VersionConflictEngineException,VersionFieldMapper,Vertex,WarmerStats,WeightBuilder,WeightedAvgAggregationBuilder
public interface ToXContentFragment extends ToXContent
An interface allowing to transfer an object to "XContent" using anXContentBuilder. The difference betweenToXContentFragmentandToXContentObjectis 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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default booleanisFragment()-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent
toXContent
-
-
-
-
Method Detail
-
isFragment
default boolean isFragment()
- Specified by:
isFragmentin interfaceToXContent
-
-