Class Configuration
java.lang.Object
org.elasticsearch.xpack.esql.session.Configuration
- 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 TypeMethodDescriptionlongReturns the current time in milliseconds from the time epoch for the execution of this request.booleanlonginthashCode()locale()Create a newFoldContextwith the limit configured in theQueryPragmas.now()pragmas()booleanprofile()Enable profiling, sacrificing performance to return information about what operations are taking the most time.query()intinttables()Tables specified in the request.toString()username()voidwriteTo(StreamOutput out) zoneId()
-
Field Details
-
QUERY_COMPRESS_THRESHOLD_CHARS
public static final int QUERY_COMPRESS_THRESHOLD_CHARS
-
-
Constructor Details
-
Configuration
-
Configuration
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
zoneId
-
now
-
clusterName
-
username
-
pragmas
-
resultTruncationMaxSize
public int resultTruncationMaxSize() -
resultTruncationDefaultSize
public int resultTruncationDefaultSize() -
locale
-
query
-
absoluteStartedTimeInMillis
public long absoluteStartedTimeInMillis()Returns the current time in milliseconds from the time epoch for the execution of this request. It ensures consistency by using the same value on all nodes involved in the search request. -
getQueryStartTimeNanos
public long getQueryStartTimeNanos()- Returns:
- Start time of the ESQL query in nanos
-
newFoldContext
Create a newFoldContextwith the limit configured in theQueryPragmas. -
tables
Tables specified in the request. -
profile
public boolean profile()Enable profiling, sacrificing performance to return information about what operations are taking the most time. -
equals
-
hashCode
public int hashCode() -
toString
-