class_docstr: Partially defined over window with (optional) partitioning and order.
class_docstr_tok: ["Partially","defined","over","window","with","(","optional",")","partitioning","and","order","."]
docstr: Set the preceding offset (based on time or row-count intervals) for over window.
  
  :param preceding: Preceding offset relative to the current row.
  :return: An over window with defined preceding.
docstr_tok: ["Set","the","preceding","offset","(","based","on","time","or","row-count","intervals",")","for","over","window",".",":","param","preceding",":","Preceding","offset","relative","to","the","current","row",".",":","return",":","An","over","window","with","defined","preceding","."]
code: def preceding(
      self, preceding: Expression
  ) -> "OverWindowPartitionedOrderedPreceding":
      """
      Set the preceding offset (based on time or row-count intervals) for over window.
  
      :param preceding: Preceding offset relative to the current row.
      :return: An over window with defined preceding.
      """
      return OverWindowPartitionedOrderedPreceding(
          self._java_over_window.preceding(
              _get_java_expression(preceding)
          )
      )
  
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 3 for calling the OverWindowPartitionedOrdered obj's underlying member method code with example usage: obj.preceding(preceding) and returns: OverWindowPartitionedOrderedPreceding