Class Source
java.lang.Object
org.elasticsearch.xpack.esql.core.tree.Source
- All Implemented Interfaces:
Writeable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()static SourcereadEmpty(StreamInput in) static <S extends StreamInput & PlanStreamInput>
SourcereadFrom(S in) source()static SourceDeprecated.Sources created by this can't be correctly deserialized.text()toString()voidwriteTo(StreamOutput out)
-
Field Details
-
EMPTY
-
-
Constructor Details
-
Source
-
Source
-
-
Method Details
-
readFrom
- Throws:
IOException
-
readEmpty
Read the components of aSourceand throw it away, returningEMPTY. Use this when you will never use theSourceand there is no chance of getting aPlanStreamInput.- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
source
-
text
-
hashCode
public int hashCode() -
equals
-
toString
-
synthetic
Deprecated.Sources created by this can't be correctly deserialized. For use in tests only.
-