Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtendedTableMetadata ¶
type ExtendedTableMetadata interface { GetAlias() string GetGraphQL() (*openapistackql.GraphQL, bool) GetHeirarchyObjects() HeirarchyObjects GetHttpArmoury() (httpbuild.HTTPArmoury, error) GetInputTableName() (string, error) GetMethod() (*openapistackql.OperationStore, error) GetMethodStr() (string, error) GetProvider() (provider.IProvider, error) GetProviderStr() (string, error) GetProviderObject() (*openapistackql.Provider, error) GetQueryUniqueId() string GetRequestSchema() (*openapistackql.Schema, error) GetOptionalParameters() map[string]openapistackql.Addressable GetRequiredParameters() map[string]openapistackql.Addressable GetResource() (*openapistackql.Resource, error) GetResourceStr() (string, error) GetResponseSchemaStr() (string, error) GetResponseSchemaAndMediaType() (*openapistackql.Schema, string, error) GetSelectableObjectSchema() (*openapistackql.Schema, error) GetSelectItemsKey() string GetSelectSchemaAndObjectPath() (*openapistackql.Schema, string, error) GetService() (*openapistackql.Service, error) GetServiceStr() (string, error) GetSQLDataSource() (sql_datasource.SQLDataSource, bool) GetStackQLTableName() (string, error) GetTableFilter() func(openapistackql.ITable) (openapistackql.ITable, error) GetTableName() (string, error) GetUniqueId() string IsLocallyExecutable() bool IsSimple() bool GetIndirect() (astindirect.Indirect, bool) GetView() (internaldto.ViewDTO, bool) GetSubquery() (internaldto.SubqueryDTO, bool) LookupSelectItemsKey() string SetSelectItemsKey(string) SetSQLDataSource(sql_datasource.SQLDataSource) SetTableFilter(f func(openapistackql.ITable) (openapistackql.ITable, error)) WithGetHttpArmoury(f func() (httpbuild.HTTPArmoury, error)) ExtendedTableMetadata WithIndirect(astindirect.Indirect) ExtendedTableMetadata WithResponseSchemaStr(rss string) (ExtendedTableMetadata, error) }
func NewExtendedTableMetadata ¶
func NewExtendedTableMetadata(heirarchyObjects HeirarchyObjects, tableName string, alias string) ExtendedTableMetadata
type HeirarchyObjects ¶
type HeirarchyObjects interface { GetHeirarchyIds() internaldto.HeirarchyIdentifiers GetObjectSchema() (*openapistackql.Schema, error) GetProvider() provider.IProvider GetRequestSchema() (*openapistackql.Schema, error) GetResponseSchemaAndMediaType() (*openapistackql.Schema, string, error) GetSelectableObjectSchema() (*openapistackql.Schema, error) GetSelectSchemaAndObjectPath() (*openapistackql.Schema, string, error) GetSQLDataSource() (sql_datasource.SQLDataSource, bool) GetTableName() string GetSubquery() (internaldto.SubqueryDTO, bool) GetView() (internaldto.ViewDTO, bool) LookupSelectItemsKey() string SetProvider(provider.IProvider) SetSQLDataSource(sql_datasource.SQLDataSource) // De facto inheritance GetServiceHdl() *openapistackql.Service GetResource() *openapistackql.Resource GetMethodSet() openapistackql.MethodSet GetMethod() *openapistackql.OperationStore SetMethod(*openapistackql.OperationStore) SetMethodSet(openapistackql.MethodSet) SetMethodStr(string) SetResource(*openapistackql.Resource) SetServiceHdl(*openapistackql.Service) }
func NewHeirarchyObjects ¶
func NewHeirarchyObjects(hIDs internaldto.HeirarchyIdentifiers) HeirarchyObjects
Click to show internal directories.
Click to hide internal directories.