다음을 통해 공유


Functions.Window 메서드

정의

오버로드

Window(Column, String)

열을 지정하는 타임스탬프가 지정된 경우 연속 시간 창을 생성합니다.

Window(Column, String, String)

타임스탬프 열이 지정된 경우 행을 하나 이상의 시간 창으로 버킷화합니다.

Window(Column, String, String, String)

타임스탬프 열이 지정된 경우 행을 하나 이상의 시간 창으로 버킷화합니다.

Window(Column, String)

열을 지정하는 타임스탬프가 지정된 경우 연속 시간 창을 생성합니다.

public static Microsoft.Spark.Sql.Column Window (Microsoft.Spark.Sql.Column column, string windowDuration);
static member Window : Microsoft.Spark.Sql.Column * string -> Microsoft.Spark.Sql.Column
Public Shared Function Window (column As Column, windowDuration As String) As Column

매개 변수

column
Column

시간별 창에 대한 타임스탬프로 사용할 열입니다.

windowDuration
String

창의 너비를 지정하는 문자열입니다. 기간 문자열은 org.apache.spark.unsafe.types.CalendarInterval을 참조하세요.

반환

Column 개체

적용 대상

Window(Column, String, String)

타임스탬프 열이 지정된 경우 행을 하나 이상의 시간 창으로 버킷화합니다.

public static Microsoft.Spark.Sql.Column Window (Microsoft.Spark.Sql.Column column, string windowDuration, string slideDuration);
static member Window : Microsoft.Spark.Sql.Column * string * string -> Microsoft.Spark.Sql.Column
Public Shared Function Window (column As Column, windowDuration As String, slideDuration As String) As Column

매개 변수

column
Column

시간별 창에 대한 타임스탬프로 사용할 열입니다.

windowDuration
String

창의 너비를 지정하는 문자열

slideDuration
String

창의 슬라이딩 간격을 지정하는 문자열

반환

Column 개체

설명

기간 문자열은 org.apache.spark.unsafe.types.CalendarInterval을 참조하세요.

적용 대상

Window(Column, String, String, String)

타임스탬프 열이 지정된 경우 행을 하나 이상의 시간 창으로 버킷화합니다.

public static Microsoft.Spark.Sql.Column Window (Microsoft.Spark.Sql.Column column, string windowDuration, string slideDuration, string startTime);
static member Window : Microsoft.Spark.Sql.Column * string * string * string -> Microsoft.Spark.Sql.Column
Public Shared Function Window (column As Column, windowDuration As String, slideDuration As String, startTime As String) As Column

매개 변수

column
Column

시간별 창에 대한 타임스탬프로 사용할 열입니다.

windowDuration
String

창의 너비를 지정하는 문자열

slideDuration
String

창의 슬라이딩 간격을 지정하는 문자열

startTime
String

창 간격을 시작할 1970-01-01 00:00:00 UTC와 관련된 오프셋

반환

Column 개체

설명

기간 문자열은 org.apache.spark.unsafe.types.CalendarInterval을 참조하세요.

적용 대상