C# Class GHInsights.USql.Utility

Show file Open project: Microsoft/ghinsights

Public Methods

Method Description
Concat ( ) : string
FlattenJson ( JToken input, int &size ) : byte[]>.IDictionary
GetBoolean ( byte[]>.SqlMap inputColumn, string path ) : bool?
GetBytes ( byte[]>.SqlMap inputColumn, string path ) : byte[]
GetDateTime ( byte[]>.SqlMap inputColumn, string path ) : DateTime?
GetInteger ( byte[]>.SqlMap inputColumn, string path ) : Int64?
GetPiiString ( byte[]>.SqlMap inputColumn, string path ) : string
GetRawBytes ( byte[]>.SqlMap inputColumn, string path ) : byte[]
GetString ( byte[]>.SqlMap inputColumn, string path ) : string
GetString ( byte[]>.SqlMap inputColumn, string path, int count ) : string
GetUSqlString ( byte[]>.SqlMap inputColumn, string path ) : string
GetUSqlString ( byte inputColumn ) : string
GunzipByteArray ( byte bytes ) : byte[]
GzipByteArray ( byte bytes ) : byte[]
HashEmail ( string inString ) : string
Left ( string value, int length ) : string

Private Methods

Method Description
FlattenJson ( JToken input, byte[]>.Dictionary dict, int &size ) : void
GetValue ( byte[]>.SqlMap inputColumn, string path, int count = null ) : string

Method Details

Concat() public static method

public static Concat ( ) : string
return string

FlattenJson() public static method

public static FlattenJson ( JToken input, int &size ) : byte[]>.IDictionary
input JToken
size int
return byte[]>.IDictionary

GetBoolean() public static method

public static GetBoolean ( byte[]>.SqlMap inputColumn, string path ) : bool?
inputColumn byte[]>.SqlMap
path string
return bool?

GetBytes() public static method

public static GetBytes ( byte[]>.SqlMap inputColumn, string path ) : byte[]
inputColumn byte[]>.SqlMap
path string
return byte[]

GetDateTime() public static method

public static GetDateTime ( byte[]>.SqlMap inputColumn, string path ) : DateTime?
inputColumn byte[]>.SqlMap
path string
return DateTime?

GetInteger() public static method

public static GetInteger ( byte[]>.SqlMap inputColumn, string path ) : Int64?
inputColumn byte[]>.SqlMap
path string
return Int64?

GetPiiString() public static method

public static GetPiiString ( byte[]>.SqlMap inputColumn, string path ) : string
inputColumn byte[]>.SqlMap
path string
return string

GetRawBytes() public static method

public static GetRawBytes ( byte[]>.SqlMap inputColumn, string path ) : byte[]
inputColumn byte[]>.SqlMap
path string
return byte[]

GetString() public static method

public static GetString ( byte[]>.SqlMap inputColumn, string path ) : string
inputColumn byte[]>.SqlMap
path string
return string

GetString() public static method

public static GetString ( byte[]>.SqlMap inputColumn, string path, int count ) : string
inputColumn byte[]>.SqlMap
path string
count int
return string

GetUSqlString() public static method

public static GetUSqlString ( byte[]>.SqlMap inputColumn, string path ) : string
inputColumn byte[]>.SqlMap
path string
return string

GetUSqlString() public static method

public static GetUSqlString ( byte inputColumn ) : string
inputColumn byte
return string

GunzipByteArray() public static method

public static GunzipByteArray ( byte bytes ) : byte[]
bytes byte
return byte[]

GzipByteArray() public static method

public static GzipByteArray ( byte bytes ) : byte[]
bytes byte
return byte[]

HashEmail() public static method

public static HashEmail ( string inString ) : string
inString string
return string

Left() public static method

public static Left ( string value, int length ) : string
value string
length int
return string