Interface WarningSourceLocation


public interface WarningSourceLocation
Interface for providing source location information for warnings. This is implemented by Source in the esql module to provide location information without creating a compile-time dependency from compute to esql-core.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The column number (1-indexed) of the source text.
    int
    The line number (1-indexed) of the source text.
    The source text that caused the warning.
    The name of the view this source came from, or null if from the original query.
  • Method Details

    • lineNumber

      int lineNumber()
      The line number (1-indexed) of the source text.
    • columnNumber

      int columnNumber()
      The column number (1-indexed) of the source text.
    • viewName

      String viewName()
      The name of the view this source came from, or null if from the original query.
    • text

      String text()
      The source text that caused the warning.