class_docstr: Session window.
  
  For streaming tables you can specify grouping by a event-time or processing-time attribute.
  
  For batch tables you can specify grouping on a timestamp or long attribute.
class_docstr_tok: ["Session","window",".","For","streaming","tables","you","can","specify","grouping","by","a","event-time","or","processing-time","attribute",".","For","batch","tables","you","can","specify","grouping","on","a","timestamp","or","long","attribute","."]
code: def __init__(self, java_window):
      self._java_window = java_window
  
imports: from py4j.java_gateway import get_method
  from pyflink.java_gateway import get_gateway
  from pyflink.table import Expression
  from pyflink.table.expression import _get_java_expression
  from pyflink.table.utils import to_expression_jarray
label_desc: Use image node_id 1 to create a new SessionWithGap object from inherited base classes: object with example: obj = SessionWithGap(java_window)