Module org.elasticsearch.xcore
Class ExceptExpression
java.lang.Object
org.elasticsearch.xpack.core.security.authc.support.mapper.expressiondsl.ExceptExpression
- All Implemented Interfaces:
NamedWriteable,Writeable,ToXContent,ToXContentObject,RoleMapperExpression
A negating expression. That is, this expression evaluates to
true if-and-only-if
its delegate expression evaluate to false.
Syntactically, except expressions are intended to be children of all
expressions (AllExpression).-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanmatch(ExpressionModel model) Determines whether this expression matches against the provided object.toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xpack.core.security.authc.support.mapper.expressiondsl.RoleMapperExpression
asPredicateMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
ExceptExpression
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable
-
match
Description copied from interface:RoleMapperExpressionDetermines whether this expression matches against the provided object.- Specified by:
matchin interfaceRoleMapperExpression- Parameters:
model- theExpressionModel
-
equals
-
hashCode
public int hashCode() -
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-