Uses of Class
org.elasticsearch.common.collect.Tuple
-
-
Uses of Tuple in org.elasticsearch.action.admin.indices.upgrade.post
Methods in org.elasticsearch.action.admin.indices.upgrade.post that return types with arguments of type Tuple Modifier and Type Method Description Map<String,Tuple<Version,String>>UpgradeResponse. versions()Returns the highest upgrade version of the node that performed metadata upgrade and the the version of the oldest lucene segment for each index that was upgraded.Map<String,Tuple<Version,String>>UpgradeSettingsClusterStateUpdateRequest. versions()Returns the index to version map for indices that should be updatedMethod parameters in org.elasticsearch.action.admin.indices.upgrade.post with type arguments of type Tuple Modifier and Type Method Description UpgradeSettingsClusterStateUpdateRequestUpgradeSettingsClusterStateUpdateRequest. versions(Map<String,Tuple<Version,String>> versions)Sets the index to version map for indices that should be updatedUpgradeSettingsRequestUpgradeSettingsRequest. versions(Map<String,Tuple<Version,String>> versions)Sets the index versions to be updatedConstructor parameters in org.elasticsearch.action.admin.indices.upgrade.post with type arguments of type Tuple Constructor Description UpgradeSettingsRequest(Map<String,Tuple<Version,String>> versions)Constructs a new request to update minimum compatible version settings for one or more indices -
Uses of Tuple in org.elasticsearch.client.ccr
Methods in org.elasticsearch.client.ccr that return types with arguments of type Tuple Modifier and Type Method Description NavigableMap<Long,Tuple<Integer,ElasticsearchException>>IndicesFollowStats.ShardFollowStats. getReadExceptions()NavigableMap<String,Tuple<Long,ElasticsearchException>>AutoFollowStats. getRecentAutoFollowErrors() -
Uses of Tuple in org.elasticsearch.client.security.user.privileges
Fields in org.elasticsearch.client.security.user.privileges with type parameters of type Tuple Modifier and Type Field Description static ConstructingObjectParser<Tuple<Role,Map<String,Object>>,String>Role. PARSERMethods in org.elasticsearch.client.security.user.privileges that return Tuple Modifier and Type Method Description static Tuple<Role,Map<String,Object>>Role. fromXContent(XContentParser parser, String name) -
Uses of Tuple in org.elasticsearch.cluster.metadata
Methods in org.elasticsearch.cluster.metadata that return types with arguments of type Tuple Modifier and Type Method Description Iterable<Tuple<String,AliasMetaData>>AliasOrIndex.Alias. getConcreteIndexAndAliasMetaDatas()Returns the unique alias metadata per concrete index. -
Uses of Tuple in org.elasticsearch.cluster.routing
Methods in org.elasticsearch.cluster.routing that return Tuple Modifier and Type Method Description Tuple<ShardRouting,ShardRouting>RoutingNodes. relocateShard(ShardRouting startedShard, String nodeId, long expectedShardSize, RoutingChangesObserver changes)Relocate a shard to another node, adding the target initializing shard as well as assigning it. -
Uses of Tuple in org.elasticsearch.common.collect
Methods in org.elasticsearch.common.collect that return Tuple Modifier and Type Method Description static <V1,V2>
Tuple<V1,V2>Tuple. tuple(V1 v1, V2 v2) -
Uses of Tuple in org.elasticsearch.common.network
Methods in org.elasticsearch.common.network that return Tuple Modifier and Type Method Description static Tuple<InetAddress,Integer>InetAddresses. parseCidr(String maskedAddress)Parse an IP address and its prefix length using the CIDR notation. -
Uses of Tuple in org.elasticsearch.common.settings
Method parameters in org.elasticsearch.common.settings with type arguments of type Tuple Modifier and Type Method Description <A,B>
voidAbstractScopedSettings. addAffixUpdateConsumer(Setting.AffixSetting<A> settingA, Setting.AffixSetting<B> settingB, BiConsumer<String,Tuple<A,B>> consumer, BiConsumer<String,Tuple<A,B>> validator)Adds a affix settings consumer that accepts the values for two settings. -
Uses of Tuple in org.elasticsearch.common.util.concurrent
Method parameters in org.elasticsearch.common.util.concurrent with type arguments of type Tuple Modifier and Type Method Description protected abstract voidAsyncIOProcessor. write(List<Tuple<Item,Consumer<Exception>>> candidates)Writes or processes the items out or to disk. -
Uses of Tuple in org.elasticsearch.common.xcontent
Methods in org.elasticsearch.common.xcontent that return Tuple Modifier and Type Method Description static Tuple<XContentType,Map<String,Object>>XContentHelper. convertToMap(BytesReference bytes, boolean ordered)Deprecated.this method relies on auto-detection of content type.static Tuple<XContentType,Map<String,Object>>XContentHelper. convertToMap(BytesReference bytes, boolean ordered, XContentType xContentType)Converts the given bytes into a map that is optionally ordered. -
Uses of Tuple in org.elasticsearch.gateway
Methods in org.elasticsearch.gateway that return Tuple Modifier and Type Method Description 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. -
Uses of Tuple in org.elasticsearch.index.reindex
Methods in org.elasticsearch.index.reindex with parameters of type Tuple Modifier and Type Method Description voidBulkByScrollTask.StatusBuilder. setRetries(Tuple<Long,Long> retries) -
Uses of Tuple in org.elasticsearch.index.seqno
Methods in org.elasticsearch.index.seqno that return Tuple Modifier and Type Method Description Tuple<Boolean,RetentionLeases>ReplicationTracker. getRetentionLeases(boolean expireLeases)If the expire leases parameter is false, gets all retention leases tracked on this shard and otherwise first calculates expiration of existing retention leases, and then gets all non-expired retention leases tracked on this shard. -
Uses of Tuple in org.elasticsearch.index.shard
Methods in org.elasticsearch.index.shard that return Tuple Modifier and Type Method Description Tuple<Boolean,RetentionLeases>IndexShard. getRetentionLeases(boolean expireLeases)If the expire leases parameter is false, gets all retention leases tracked on this shard and otherwise first calculates expiration of existing retention leases, and then gets all non-expired retention leases tracked on this shard. -
Uses of Tuple in org.elasticsearch.rest
Methods in org.elasticsearch.rest that return Tuple Modifier and Type Method Description Tuple<XContentType,BytesReference>RestRequest. contentOrSourceParam()Get the content of the request or the contents of thesourceparam or throw an exception if both are missing. -
Uses of Tuple in org.elasticsearch.script
Fields in org.elasticsearch.script with type parameters of type Tuple Modifier and Type Field Description static Setting<Tuple<Integer,TimeValue>>ScriptService. SCRIPT_MAX_COMPILATIONS_RATE -
Uses of Tuple in org.elasticsearch.search.lookup
Methods in org.elasticsearch.search.lookup that return Tuple Modifier and Type Method Description static Tuple<XContentType,Map<String,Object>>SourceLookup. sourceAsMapAndType(BytesReference source) -
Uses of Tuple in org.elasticsearch.transport
Methods in org.elasticsearch.transport that return Tuple Modifier and Type Method Description static Tuple<String,Integer>RemoteClusterAware. parseHostPort(String remoteHost)Methods in org.elasticsearch.transport that return types with arguments of type Tuple Modifier and Type Method Description protected static Map<String,Tuple<String,List<Tuple<String,Supplier<DiscoveryNode>>>>>RemoteClusterAware. buildRemoteClustersDynamicConfig(Settings settings)Builds the dynamic per-cluster config from the given settings.protected static Map<String,Tuple<String,List<Tuple<String,Supplier<DiscoveryNode>>>>>RemoteClusterAware. buildRemoteClustersDynamicConfig(Settings settings)Builds the dynamic per-cluster config from the given settings.
-