C# 클래스 ElmcityUtils.TableStorage

파일 보기 프로젝트 열기: judell/elmcity 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
no_continuation string
query_template_pk_rk string

공개 메소드들

메소드 설명
AzureTableAsXmlToListDictObj ( string xmltext ) : object>>.List
CompletedIfCreated ( TableStorageHttpResponse response, Object o ) : bool
CompletedIfNotFound ( TableStorageHttpResponse response, Object o ) : bool
CountTables ( ) : TableStorageIntResponse
CreateTable ( string tablename ) : TableStorageHttpResponse
DeleteEntity ( string tablename, string partkey, string rowkey ) : TableStorageListDictResponse
DeleteTable ( string tablename ) : TableStorageHttpResponse
DictObjToTableStore ( System.Operation operation, object>.Dictionary dict, string table, string partkey, string rowkey ) : TableStorageListDictResponse
DoEntity ( string inpath, object>.Dictionary entity, string id, string method, bool force_unconditional ) : TableStorageListDictResponse
DoTableStoreRequest ( string request_path, string query_string, string method, Hashtable headers, byte data ) : ElmcityUtils.HttpResponse
ExistsEntity ( string tablename, string query ) : bool
ExistsEntity ( string tablename, string partition_key, string row_key ) : bool
ExistsTable ( string tablename ) : TableStorageBoolResponse
InsertEntity ( string tablename, object>.Dictionary entity ) : TableStorageListDictResponse
ListTables ( ) : TableStorageListDictResponse
MakeAppContent ( object>.Dictionary entity ) : string
MakeDefaultTableStorage ( ) : TableStorage
MakeSafeBlobnameFromUrl ( string url ) : string
MakeSafeRowkey ( string key ) : string
MakeSafeRowkeyFromUrl ( string url ) : string
MakeSecureTableStorage ( ) : TableStorage
MaybeCreateTable ( string tablename ) : TableStorageHttpResponse
MaybeDeleteEntity ( string tablename, string partkey, string rowkey ) : TableStorageListDictResponse
MergeEntity ( string tablename, string partkey, string rowkey, object>.Dictionary entity ) : TableStorageListDictResponse
PrepEntityPathAndId ( string tablename, string partkey, string rowkey, string &inpath, string &id ) : void
QueryAllEntitiesAsListDict ( string table, string query, int max ) : TableStorageListDictResponse
QueryAllEntitiesAsODataFeed ( string table, string query ) : string
QueryEntities ( string tablename, string query ) : TableStorageListDictResponse
QueryEntities ( string tablename, string query, TableStorage ts ) : TableStorageListDictResponse
QueryEntitiesAsFeed ( string tablename, string query ) : string
QueryEntitiesAsHtml ( string tablename, string query, List attrs ) : string
QueryForSingleEntityAsDictObj ( TableStorage ts, string table, string q ) : object>.Dictionary
QueryForSingleEntityAsDictStr ( TableStorage ts, string table, string q ) : string>.Dictionary
TableStorage ( string azure_storage_name, string azure_table_host, string azure_b64_secret, string scheme ) : System
UpdateDictToTableStore ( object>.Dictionary dict, string table, string partkey, string rowkey ) : TableStorageListDictResponse
UpdateEntity ( string tablename, string partkey, string rowkey, object>.Dictionary entity ) : TableStorageListDictResponse
UpmergeDictToTableStore ( object>.Dictionary dict, string table, string partkey, string rowkey ) : TableStorageListDictResponse
WriteLogMessage ( string type, string message, string data ) : TableStorageHttpResponse
WriteLogMessage ( string type, string message, string data, string table ) : TableStorageHttpResponse
WritePriorityLogMessage ( string type, string message, string data ) : TableStorageHttpResponse

비공개 메소드들

메소드 설명
GetTsDicts ( ElmcityUtils.HttpResponse http_response ) : object>>.List
MakeAppPayload ( string content, string id ) : byte[]
QueryAll ( string table, string query ) : IEnumerable

메소드 상세

AzureTableAsXmlToListDictObj() 공개 정적인 메소드

public static AzureTableAsXmlToListDictObj ( string xmltext ) : object>>.List
xmltext string
리턴 object>>.List

CompletedIfCreated() 공개 정적인 메소드

public static CompletedIfCreated ( TableStorageHttpResponse response, Object o ) : bool
response TableStorageHttpResponse
o Object
리턴 bool

CompletedIfNotFound() 공개 정적인 메소드

public static CompletedIfNotFound ( TableStorageHttpResponse response, Object o ) : bool
response TableStorageHttpResponse
o Object
리턴 bool

CountTables() 공개 메소드

public CountTables ( ) : TableStorageIntResponse
리턴 TableStorageIntResponse

CreateTable() 공개 메소드

public CreateTable ( string tablename ) : TableStorageHttpResponse
tablename string
리턴 TableStorageHttpResponse

DeleteEntity() 공개 메소드

public DeleteEntity ( string tablename, string partkey, string rowkey ) : TableStorageListDictResponse
tablename string
partkey string
rowkey string
리턴 TableStorageListDictResponse

DeleteTable() 공개 메소드

public DeleteTable ( string tablename ) : TableStorageHttpResponse
tablename string
리턴 TableStorageHttpResponse

DictObjToTableStore() 공개 정적인 메소드

public static DictObjToTableStore ( System.Operation operation, object>.Dictionary dict, string table, string partkey, string rowkey ) : TableStorageListDictResponse
operation System.Operation
dict object>.Dictionary
table string
partkey string
rowkey string
리턴 TableStorageListDictResponse

DoEntity() 공개 메소드

public DoEntity ( string inpath, object>.Dictionary entity, string id, string method, bool force_unconditional ) : TableStorageListDictResponse
inpath string
entity object>.Dictionary
id string
method string
force_unconditional bool
리턴 TableStorageListDictResponse

DoTableStoreRequest() 공개 메소드

public DoTableStoreRequest ( string request_path, string query_string, string method, Hashtable headers, byte data ) : ElmcityUtils.HttpResponse
request_path string
query_string string
method string
headers System.Collections.Hashtable
data byte
리턴 ElmcityUtils.HttpResponse

ExistsEntity() 공개 메소드

public ExistsEntity ( string tablename, string query ) : bool
tablename string
query string
리턴 bool

ExistsEntity() 공개 메소드

public ExistsEntity ( string tablename, string partition_key, string row_key ) : bool
tablename string
partition_key string
row_key string
리턴 bool

ExistsTable() 공개 메소드

public ExistsTable ( string tablename ) : TableStorageBoolResponse
tablename string
리턴 TableStorageBoolResponse

InsertEntity() 공개 메소드

public InsertEntity ( string tablename, object>.Dictionary entity ) : TableStorageListDictResponse
tablename string
entity object>.Dictionary
리턴 TableStorageListDictResponse

ListTables() 공개 메소드

public ListTables ( ) : TableStorageListDictResponse
리턴 TableStorageListDictResponse

MakeAppContent() 공개 정적인 메소드

public static MakeAppContent ( object>.Dictionary entity ) : string
entity object>.Dictionary
리턴 string

MakeDefaultTableStorage() 공개 정적인 메소드

public static MakeDefaultTableStorage ( ) : TableStorage
리턴 TableStorage

MakeSafeBlobnameFromUrl() 공개 정적인 메소드

public static MakeSafeBlobnameFromUrl ( string url ) : string
url string
리턴 string

MakeSafeRowkey() 공개 정적인 메소드

public static MakeSafeRowkey ( string key ) : string
key string
리턴 string

MakeSafeRowkeyFromUrl() 공개 정적인 메소드

public static MakeSafeRowkeyFromUrl ( string url ) : string
url string
리턴 string

MakeSecureTableStorage() 공개 정적인 메소드

public static MakeSecureTableStorage ( ) : TableStorage
리턴 TableStorage

MaybeCreateTable() 공개 메소드

public MaybeCreateTable ( string tablename ) : TableStorageHttpResponse
tablename string
리턴 TableStorageHttpResponse

MaybeDeleteEntity() 공개 메소드

public MaybeDeleteEntity ( string tablename, string partkey, string rowkey ) : TableStorageListDictResponse
tablename string
partkey string
rowkey string
리턴 TableStorageListDictResponse

MergeEntity() 공개 메소드

public MergeEntity ( string tablename, string partkey, string rowkey, object>.Dictionary entity ) : TableStorageListDictResponse
tablename string
partkey string
rowkey string
entity object>.Dictionary
리턴 TableStorageListDictResponse

PrepEntityPathAndId() 공개 메소드

public PrepEntityPathAndId ( string tablename, string partkey, string rowkey, string &inpath, string &id ) : void
tablename string
partkey string
rowkey string
inpath string
id string
리턴 void

QueryAllEntitiesAsListDict() 공개 메소드

public QueryAllEntitiesAsListDict ( string table, string query, int max ) : TableStorageListDictResponse
table string
query string
max int
리턴 TableStorageListDictResponse

QueryAllEntitiesAsODataFeed() 공개 메소드

public QueryAllEntitiesAsODataFeed ( string table, string query ) : string
table string
query string
리턴 string

QueryEntities() 공개 메소드

public QueryEntities ( string tablename, string query ) : TableStorageListDictResponse
tablename string
query string
리턴 TableStorageListDictResponse

QueryEntities() 공개 정적인 메소드

public static QueryEntities ( string tablename, string query, TableStorage ts ) : TableStorageListDictResponse
tablename string
query string
ts TableStorage
리턴 TableStorageListDictResponse

QueryEntitiesAsFeed() 공개 메소드

public QueryEntitiesAsFeed ( string tablename, string query ) : string
tablename string
query string
리턴 string

QueryEntitiesAsHtml() 공개 메소드

public QueryEntitiesAsHtml ( string tablename, string query, List attrs ) : string
tablename string
query string
attrs List
리턴 string

QueryForSingleEntityAsDictObj() 공개 정적인 메소드

public static QueryForSingleEntityAsDictObj ( TableStorage ts, string table, string q ) : object>.Dictionary
ts TableStorage
table string
q string
리턴 object>.Dictionary

QueryForSingleEntityAsDictStr() 공개 정적인 메소드

public static QueryForSingleEntityAsDictStr ( TableStorage ts, string table, string q ) : string>.Dictionary
ts TableStorage
table string
q string
리턴 string>.Dictionary

TableStorage() 공개 메소드

public TableStorage ( string azure_storage_name, string azure_table_host, string azure_b64_secret, string scheme ) : System
azure_storage_name string
azure_table_host string
azure_b64_secret string
scheme string
리턴 System

UpdateDictToTableStore() 공개 정적인 메소드

public static UpdateDictToTableStore ( object>.Dictionary dict, string table, string partkey, string rowkey ) : TableStorageListDictResponse
dict object>.Dictionary
table string
partkey string
rowkey string
리턴 TableStorageListDictResponse

UpdateEntity() 공개 메소드

public UpdateEntity ( string tablename, string partkey, string rowkey, object>.Dictionary entity ) : TableStorageListDictResponse
tablename string
partkey string
rowkey string
entity object>.Dictionary
리턴 TableStorageListDictResponse

UpmergeDictToTableStore() 공개 정적인 메소드

public static UpmergeDictToTableStore ( object>.Dictionary dict, string table, string partkey, string rowkey ) : TableStorageListDictResponse
dict object>.Dictionary
table string
partkey string
rowkey string
리턴 TableStorageListDictResponse

WriteLogMessage() 공개 메소드

public WriteLogMessage ( string type, string message, string data ) : TableStorageHttpResponse
type string
message string
data string
리턴 TableStorageHttpResponse

WriteLogMessage() 공개 메소드

public WriteLogMessage ( string type, string message, string data, string table ) : TableStorageHttpResponse
type string
message string
data string
table string
리턴 TableStorageHttpResponse

WritePriorityLogMessage() 공개 메소드

public WritePriorityLogMessage ( string type, string message, string data ) : TableStorageHttpResponse
type string
message string
data string
리턴 TableStorageHttpResponse

프로퍼티 상세

no_continuation 공개적으로 프로퍼티

public string no_continuation
리턴 string

query_template_pk_rk 공개적으로 정적으로 프로퍼티

public static string query_template_pk_rk
리턴 string