mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-06 08:35:55 +00:00
59 lines
2.2 KiB
Go
59 lines
2.2 KiB
Go
// Code generated by "stringer -type=apiMethod"; DO NOT EDIT.
|
|
|
|
package pilosa
|
|
|
|
import "strconv"
|
|
|
|
func _() {
|
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
|
// Re-run the stringer command to generate them again.
|
|
var x [1]struct{}
|
|
_ = x[apiClusterMessage-0]
|
|
_ = x[apiCreateField-1]
|
|
_ = x[apiCreateIndex-2]
|
|
_ = x[apiDeleteField-3]
|
|
_ = x[apiDeleteAvailableShard-4]
|
|
_ = x[apiDeleteIndex-5]
|
|
_ = x[apiDeleteView-6]
|
|
_ = x[apiExportCSV-7]
|
|
_ = x[apiFragmentBlockData-8]
|
|
_ = x[apiFragmentBlocks-9]
|
|
_ = x[apiFragmentData-10]
|
|
_ = x[apiTranslateData-11]
|
|
_ = x[apiFieldTranslateData-12]
|
|
_ = x[apiField-13]
|
|
_ = x[apiFieldAttrDiff-14]
|
|
_ = x[apiImport-15]
|
|
_ = x[apiImportValue-16]
|
|
_ = x[apiIndex-17]
|
|
_ = x[apiIndexAttrDiff-18]
|
|
_ = x[apiQuery-19]
|
|
_ = x[apiRecalculateCaches-20]
|
|
_ = x[apiRemoveNode-21]
|
|
_ = x[apiResizeAbort-22]
|
|
_ = x[apiSchema-23]
|
|
_ = x[apiShardNodes-24]
|
|
_ = x[apiState-25]
|
|
_ = x[apiViews-26]
|
|
_ = x[apiApplySchema-27]
|
|
_ = x[apiStartTransaction-28]
|
|
_ = x[apiFinishTransaction-29]
|
|
_ = x[apiTransactions-30]
|
|
_ = x[apiGetTransaction-31]
|
|
_ = x[apiActiveQueries-32]
|
|
_ = x[apiPastQueries-33]
|
|
_ = x[apiIDReserve-34]
|
|
_ = x[apiIDCommit-35]
|
|
_ = x[apiIDReset-36]
|
|
}
|
|
|
|
const _apiMethod_name = "apiClusterMessageapiCreateFieldapiCreateIndexapiDeleteFieldapiDeleteAvailableShardapiDeleteIndexapiDeleteViewapiExportCSVapiFragmentBlockDataapiFragmentBlocksapiFragmentDataapiTranslateDataapiFieldTranslateDataapiFieldapiFieldAttrDiffapiImportapiImportValueapiIndexapiIndexAttrDiffapiQueryapiRecalculateCachesapiRemoveNodeapiResizeAbortapiSchemaapiShardNodesapiStateapiViewsapiApplySchemaapiStartTransactionapiFinishTransactionapiTransactionsapiGetTransactionapiActiveQueriesapiPastQueriesapiIDReserveapiIDCommitapiIDReset"
|
|
|
|
var _apiMethod_index = [...]uint16{0, 17, 31, 45, 59, 82, 96, 109, 121, 141, 158, 173, 189, 210, 218, 234, 243, 257, 265, 281, 289, 309, 322, 336, 345, 358, 366, 374, 388, 407, 427, 442, 459, 475, 489, 501, 512, 522}
|
|
|
|
func (i apiMethod) String() string {
|
|
if i < 0 || i >= apiMethod(len(_apiMethod_index)-1) {
|
|
return "apiMethod(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _apiMethod_name[_apiMethod_index[i]:_apiMethod_index[i+1]]
|
|
}
|