Uses of Class
org.elasticsearch.common.xcontent.NamedXContentRegistry
-
-
Uses of NamedXContentRegistry in org.elasticsearch.action.admin.cluster.node.tasks.get
Constructors in org.elasticsearch.action.admin.cluster.node.tasks.get with parameters of type NamedXContentRegistry Constructor Description TransportGetTaskAction(ThreadPool threadPool, TransportService transportService, ActionFilters actionFilters, ClusterService clusterService, Client client, NamedXContentRegistry xContentRegistry) -
Uses of NamedXContentRegistry in org.elasticsearch.action.search
Methods in org.elasticsearch.action.search with parameters of type NamedXContentRegistry Modifier and Type Method Description static voidMultiSearchRequest. readMultiLineFormat(BytesReference data, XContent xContent, CheckedBiConsumer<SearchRequest,XContentParser,IOException> consumer, String[] indices, IndicesOptions indicesOptions, String[] types, String routing, String searchType, Boolean ccsMinimizeRoundtrips, NamedXContentRegistry registry, boolean allowExplicitIndex, DeprecationLogger deprecationLogger) -
Uses of NamedXContentRegistry in org.elasticsearch.cluster.metadata
Methods in org.elasticsearch.cluster.metadata with parameters of type NamedXContentRegistry Modifier and Type Method Description voidAliasValidator. validateAliasFilter(String alias, byte[] filter, QueryShardContext queryShardContext, NamedXContentRegistry xContentRegistry)Validates an alias filter by parsing it using the providedQueryShardContextvoidAliasValidator. validateAliasFilter(String alias, String filter, QueryShardContext queryShardContext, NamedXContentRegistry xContentRegistry)Validates an alias filter by parsing it using the providedQueryShardContext -
Uses of NamedXContentRegistry in org.elasticsearch.common.network
Constructors in org.elasticsearch.common.network with parameters of type NamedXContentRegistry Constructor Description NetworkModule(Settings settings, boolean transportClient, List<NetworkPlugin> plugins, ThreadPool threadPool, BigArrays bigArrays, PageCacheRecycler pageCacheRecycler, CircuitBreakerService circuitBreakerService, NamedWriteableRegistry namedWriteableRegistry, NamedXContentRegistry xContentRegistry, NetworkService networkService, HttpServerTransport.Dispatcher dispatcher)Creates a network module that custom networking classes can be plugged into. -
Uses of NamedXContentRegistry in org.elasticsearch.common.xcontent
Fields in org.elasticsearch.common.xcontent declared as NamedXContentRegistry Modifier and Type Field Description static NamedXContentRegistryNamedXContentRegistry. EMPTYThe emptyNamedXContentRegistryfor use when you are sure that you aren't going to callXContentParser.namedObject(Class, String, Object).Methods in org.elasticsearch.common.xcontent that return NamedXContentRegistry Modifier and Type Method Description NamedXContentRegistryXContentParser. getXContentRegistry()The registry used to resolveXContentParser.namedObject(Class, String, Object).NamedXContentRegistryXContentSubParser. getXContentRegistry()Methods in org.elasticsearch.common.xcontent with parameters of type NamedXContentRegistry Modifier and Type Method Description XContentParserXContent. createParser(NamedXContentRegistry xContentRegistry, DeprecationHandler deprecationHandler, byte[] data)Creates a parser over the provided bytes.XContentParserXContent. createParser(NamedXContentRegistry xContentRegistry, DeprecationHandler deprecationHandler, byte[] data, int offset, int length)Creates a parser over the provided bytes.XContentParserXContent. createParser(NamedXContentRegistry xContentRegistry, DeprecationHandler deprecationHandler, InputStream is)Creates a parser over the provided input stream.XContentParserXContent. createParser(NamedXContentRegistry xContentRegistry, DeprecationHandler deprecationHandler, Reader reader)Creates a parser over the provided reader.XContentParserXContent. createParser(NamedXContentRegistry xContentRegistry, DeprecationHandler deprecationHandler, String content)Creates a parser over the provided string content.static XContentParserXContentHelper. createParser(NamedXContentRegistry xContentRegistry, DeprecationHandler deprecationHandler, BytesReference bytes)Deprecated.useXContentHelper.createParser(NamedXContentRegistry, DeprecationHandler, BytesReference, XContentType)to avoid content type auto-detectionstatic XContentParserXContentHelper. createParser(NamedXContentRegistry xContentRegistry, DeprecationHandler deprecationHandler, BytesReference bytes, XContentType xContentType)Creates a parser for the bytes using the supplied content-type -
Uses of NamedXContentRegistry in org.elasticsearch.common.xcontent.json
Methods in org.elasticsearch.common.xcontent.json with parameters of type NamedXContentRegistry Modifier and Type Method Description XContentParserJsonXContent. createParser(NamedXContentRegistry xContentRegistry, DeprecationHandler deprecationHandler, byte[] data)XContentParserJsonXContent. createParser(NamedXContentRegistry xContentRegistry, DeprecationHandler deprecationHandler, byte[] data, int offset, int length)XContentParserJsonXContent. createParser(NamedXContentRegistry xContentRegistry, DeprecationHandler deprecationHandler, InputStream is)XContentParserJsonXContent. createParser(NamedXContentRegistry xContentRegistry, DeprecationHandler deprecationHandler, Reader reader)XContentParserJsonXContent. createParser(NamedXContentRegistry xContentRegistry, DeprecationHandler deprecationHandler, String content)Constructors in org.elasticsearch.common.xcontent.json with parameters of type NamedXContentRegistry Constructor Description JsonXContentParser(NamedXContentRegistry xContentRegistry, DeprecationHandler deprecationHandler, com.fasterxml.jackson.core.JsonParser parser) -
Uses of NamedXContentRegistry in org.elasticsearch.common.xcontent.support
Methods in org.elasticsearch.common.xcontent.support that return NamedXContentRegistry Modifier and Type Method Description NamedXContentRegistryAbstractXContentParser. getXContentRegistry()Constructors in org.elasticsearch.common.xcontent.support with parameters of type NamedXContentRegistry Constructor Description AbstractXContentParser(NamedXContentRegistry xContentRegistry, DeprecationHandler deprecationHandler)MapXContentParser(NamedXContentRegistry xContentRegistry, DeprecationHandler deprecationHandler, Map<String,Object> map, XContentType xContentType) -
Uses of NamedXContentRegistry in org.elasticsearch.gateway
Methods in org.elasticsearch.gateway with parameters of type NamedXContentRegistry Modifier and Type Method Description TMetaDataStateFormat. loadGeneration(org.apache.logging.log4j.Logger logger, NamedXContentRegistry namedXContentRegistry, long generation, Path... dataLocations)Tries to load the state of particular generation from the given data-locations.TMetaDataStateFormat. loadLatestState(org.apache.logging.log4j.Logger logger, NamedXContentRegistry namedXContentRegistry, Path... dataLocations)Tries to load the latest state from the given data-locations.Tuple<T,Long>MetaDataStateFormat. loadLatestStateWithGeneration(org.apache.logging.log4j.Logger logger, NamedXContentRegistry namedXContentRegistry, Path... dataLocations)Tries to load the latest state from the given data-locations.TMetaDataStateFormat. read(NamedXContentRegistry namedXContentRegistry, Path file)Reads the state from a given file and compares the expected version against the actual version of the state.Constructors in org.elasticsearch.gateway with parameters of type NamedXContentRegistry Constructor Description MetaStateService(NodeEnvironment nodeEnv, NamedXContentRegistry namedXContentRegistry)TransportNodesListGatewayStartedShards(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, NodeEnvironment env, IndicesService indicesService, NamedXContentRegistry namedXContentRegistry) -
Uses of NamedXContentRegistry in org.elasticsearch.index
Methods in org.elasticsearch.index that return NamedXContentRegistry Modifier and Type Method Description NamedXContentRegistryIndexService. xContentRegistry()Methods in org.elasticsearch.index with parameters of type NamedXContentRegistry Modifier and Type Method Description MapperServiceIndexModule. newIndexMapperService(NamedXContentRegistry xContentRegistry, MapperRegistry mapperRegistry, ScriptService scriptService)creates a new mapper service to do administrative work like mapping updates.IndexServiceIndexModule. newIndexService(IndexService.IndexCreationContext indexCreationContext, NodeEnvironment environment, NamedXContentRegistry xContentRegistry, IndexService.ShardStoreDeleter shardStoreDeleter, CircuitBreakerService circuitBreakerService, BigArrays bigArrays, ThreadPool threadPool, ScriptService scriptService, ClusterService clusterService, Client client, IndicesQueryCache indicesQueryCache, MapperRegistry mapperRegistry, IndicesFieldDataCache indicesFieldDataCache, NamedWriteableRegistry namedWriteableRegistry) -
Uses of NamedXContentRegistry in org.elasticsearch.index.mapper
Methods in org.elasticsearch.index.mapper with parameters of type NamedXContentRegistry Modifier and Type Method Description static Map<String,Object>MapperService. parseMapping(NamedXContentRegistry xContentRegistry, String mappingSource)Parses the mappings (formatted as JSON) into a mapConstructors in org.elasticsearch.index.mapper with parameters of type NamedXContentRegistry Constructor Description DocumentMapperParser(IndexSettings indexSettings, MapperService mapperService, NamedXContentRegistry xContentRegistry, SimilarityService similarityService, MapperRegistry mapperRegistry, Supplier<QueryShardContext> queryShardContextSupplier)MapperService(IndexSettings indexSettings, IndexAnalyzers indexAnalyzers, NamedXContentRegistry xContentRegistry, SimilarityService similarityService, MapperRegistry mapperRegistry, Supplier<QueryShardContext> queryShardContextSupplier) -
Uses of NamedXContentRegistry in org.elasticsearch.index.query
Methods in org.elasticsearch.index.query that return NamedXContentRegistry Modifier and Type Method Description NamedXContentRegistryQueryRewriteContext. getXContentRegistry()The registry used to build newXContentParsers.Constructors in org.elasticsearch.index.query with parameters of type NamedXContentRegistry Constructor Description QueryRewriteContext(NamedXContentRegistry xContentRegistry, NamedWriteableRegistry writeableRegistry, Client client, LongSupplier nowInMillis)QueryShardContext(int shardId, IndexSettings indexSettings, BigArrays bigArrays, BitsetFilterCache bitsetFilterCache, BiFunction<MappedFieldType,String,IndexFieldData<?>> indexFieldDataLookup, MapperService mapperService, SimilarityService similarityService, ScriptService scriptService, NamedXContentRegistry xContentRegistry, NamedWriteableRegistry namedWriteableRegistry, Client client, IndexSearcher searcher, LongSupplier nowInMillis, String clusterAlias, Predicate<String> indexNameMatcher) -
Uses of NamedXContentRegistry in org.elasticsearch.indices
Constructors in org.elasticsearch.indices with parameters of type NamedXContentRegistry Constructor Description IndicesService(Settings settings, PluginsService pluginsService, NodeEnvironment nodeEnv, NamedXContentRegistry xContentRegistry, AnalysisRegistry analysisRegistry, IndexNameExpressionResolver indexNameExpressionResolver, MapperRegistry mapperRegistry, NamedWriteableRegistry namedWriteableRegistry, ThreadPool threadPool, IndexScopedSettings indexScopedSettings, CircuitBreakerService circuitBreakerService, BigArrays bigArrays, ScriptService scriptService, ClusterService clusterService, Client client, MetaStateService metaStateService, Collection<Function<IndexSettings,Optional<EngineFactory>>> engineFactoryProviders, Map<String,IndexStorePlugin.DirectoryFactory> directoryFactories) -
Uses of NamedXContentRegistry in org.elasticsearch.indices.store
Constructors in org.elasticsearch.indices.store with parameters of type NamedXContentRegistry Constructor Description TransportNodesListShardStoreMetaData(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, IndicesService indicesService, NodeEnvironment nodeEnv, ActionFilters actionFilters, NamedXContentRegistry namedXContentRegistry) -
Uses of NamedXContentRegistry in org.elasticsearch.plugins
Methods in org.elasticsearch.plugins with parameters of type NamedXContentRegistry Modifier and Type Method Description Collection<Object>Plugin. createComponents(Client client, ClusterService clusterService, ThreadPool threadPool, ResourceWatcherService resourceWatcherService, ScriptService scriptService, NamedXContentRegistry xContentRegistry, Environment environment, NodeEnvironment nodeEnvironment, NamedWriteableRegistry namedWriteableRegistry)Returns components added by this plugin.default Map<String,Supplier<HttpServerTransport>>NetworkPlugin. getHttpTransports(Settings settings, ThreadPool threadPool, BigArrays bigArrays, PageCacheRecycler pageCacheRecycler, CircuitBreakerService circuitBreakerService, NamedXContentRegistry xContentRegistry, NetworkService networkService, HttpServerTransport.Dispatcher dispatcher)Returns a map ofHttpServerTransportsuppliers.default Map<String,Repository.Factory>RepositoryPlugin. getInternalRepositories(Environment env, NamedXContentRegistry namedXContentRegistry, ThreadPool threadPool)Returns internal repository types added by this plugin.default Map<String,Repository.Factory>RepositoryPlugin. getRepositories(Environment env, NamedXContentRegistry namedXContentRegistry, ThreadPool threadPool)Returns repository types added by this plugin. -
Uses of NamedXContentRegistry in org.elasticsearch.repositories
Constructors in org.elasticsearch.repositories with parameters of type NamedXContentRegistry Constructor Description RepositoriesModule(Environment env, List<RepositoryPlugin> repoPlugins, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, NamedXContentRegistry namedXContentRegistry) -
Uses of NamedXContentRegistry in org.elasticsearch.repositories.blobstore
Fields in org.elasticsearch.repositories.blobstore declared as NamedXContentRegistry Modifier and Type Field Description protected NamedXContentRegistryBlobStoreRepository. namedXContentRegistryConstructors in org.elasticsearch.repositories.blobstore with parameters of type NamedXContentRegistry Constructor Description BlobStoreRepository(RepositoryMetaData metadata, boolean compress, NamedXContentRegistry namedXContentRegistry, ThreadPool threadPool)Constructs new BlobStoreRepositoryChecksumBlobStoreFormat(String codec, String blobNameFormat, CheckedFunction<XContentParser,T,IOException> reader, NamedXContentRegistry namedXContentRegistry, boolean compress) -
Uses of NamedXContentRegistry in org.elasticsearch.repositories.fs
Constructors in org.elasticsearch.repositories.fs with parameters of type NamedXContentRegistry Constructor Description FsRepository(RepositoryMetaData metadata, Environment environment, NamedXContentRegistry namedXContentRegistry, ThreadPool threadPool)Constructs a shared file system repository. -
Uses of NamedXContentRegistry in org.elasticsearch.rest
Methods in org.elasticsearch.rest that return NamedXContentRegistry Modifier and Type Method Description NamedXContentRegistryRestRequest. getXContentRegistry()Get theNamedXContentRegistrythat should be used to create parsers from this request.Methods in org.elasticsearch.rest with parameters of type NamedXContentRegistry Modifier and Type Method Description static RestRequestRestRequest. request(NamedXContentRegistry xContentRegistry, HttpRequest httpRequest, HttpChannel httpChannel)Creates a new REST request.static RestRequestRestRequest. requestWithoutParameters(NamedXContentRegistry xContentRegistry, HttpRequest httpRequest, HttpChannel httpChannel)Creates a new REST request.Constructors in org.elasticsearch.rest with parameters of type NamedXContentRegistry Constructor Description RestRequest(NamedXContentRegistry xContentRegistry, Map<String,String> params, String path, Map<String,List<String>> headers, HttpRequest httpRequest, HttpChannel httpChannel)
-