C# 클래스 KairosDbClient.QueryBuilder

Use to query 1 or more metrics for a time range. A start time is required, either absolute or relative. End time is optional and defaults to now
파일 보기 프로젝트 열기: syncromatics/KairosDbClientDotNet 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
AddQueryMetric ( QueryMetric metric ) : QueryBuilder

Add a metric to query for

SetCacheTime ( System.TimeSpan cacheTime ) : QueryBuilder
SetEnd ( DateTimeOffset end ) : QueryBuilder

This will be passed to kairosdb as an absolute time

SetEnd ( RelativeTime end ) : QueryBuilder

This will be passed to kairosdb as a relative time with the unit specified

SetEnd ( System.TimeSpan end ) : QueryBuilder

This will be passed to kairosdb as a relative milliseconds value

SetStart ( DateTimeOffset start ) : QueryBuilder

This will be passed to kairosdb as an absolute time

SetStart ( RelativeTime start ) : QueryBuilder

This will be passed to kairosdb as a relative time with the unit specified

SetStart ( System.TimeSpan start ) : QueryBuilder

This will be passed to kairosdb as a relative milliseconds value

SetTimeZone ( string timezone ) : QueryBuilder

메소드 상세

AddQueryMetric() 공개 메소드

Add a metric to query for
public AddQueryMetric ( QueryMetric metric ) : QueryBuilder
metric QueryMetric
리턴 QueryBuilder

SetCacheTime() 공개 메소드

public SetCacheTime ( System.TimeSpan cacheTime ) : QueryBuilder
cacheTime System.TimeSpan
리턴 QueryBuilder

SetEnd() 공개 메소드

This will be passed to kairosdb as an absolute time
public SetEnd ( DateTimeOffset end ) : QueryBuilder
end DateTimeOffset
리턴 QueryBuilder

SetEnd() 공개 메소드

This will be passed to kairosdb as a relative time with the unit specified
public SetEnd ( RelativeTime end ) : QueryBuilder
end RelativeTime
리턴 QueryBuilder

SetEnd() 공개 메소드

This will be passed to kairosdb as a relative milliseconds value
public SetEnd ( System.TimeSpan end ) : QueryBuilder
end System.TimeSpan
리턴 QueryBuilder

SetStart() 공개 메소드

This will be passed to kairosdb as an absolute time
public SetStart ( DateTimeOffset start ) : QueryBuilder
start DateTimeOffset
리턴 QueryBuilder

SetStart() 공개 메소드

This will be passed to kairosdb as a relative time with the unit specified
public SetStart ( RelativeTime start ) : QueryBuilder
start RelativeTime
리턴 QueryBuilder

SetStart() 공개 메소드

This will be passed to kairosdb as a relative milliseconds value
public SetStart ( System.TimeSpan start ) : QueryBuilder
start System.TimeSpan
리턴 QueryBuilder

SetTimeZone() 공개 메소드

public SetTimeZone ( string timezone ) : QueryBuilder
timezone string
리턴 QueryBuilder