HoleFoods.Utils
class HoleFoods.Utils extends %Library.RegisteredObject
Utility methods for the DeepSee "HoleFoods" demo. To create data for this DeepSee model, the easiest thing to do is to use the BuildData():From the command line:
Do ##class(HoleFoods.Utils).BuildData(1000000,1,1)
Method Inventory
- AddData()
- AddProduct()
- BuildData()
- ChangeCity()
- ChangeMeasure()
- ChangeProductName()
- CreateComment()
- CreateGeoIndex()
- DeleteRecords()
- GetCustomerLocation()
- Setup()
- SetupTermLists()
- SetupVariables()
- UpdateData()
Methods
Add new records to the transactional data that will provide data for the DeepSee model.
pCount is the number of records to create.
pAsync if true, indicates that parallel processing should be used to build the cube.
pVerbose if true, indicates that status messages should be written to the console.
pAsync if true, indicates that parallel processing should be used to build the cube.
pVerbose if true, indicates that status messages should be written to the console.
Add a new product and update the cube.
Build the transactional data that will provide data for the DeepSee model.
Any old records will be deleted.
pCount is the number of records to create.
pAsync if true, indicates that parallel processing should be used to build the cube.
pVerbose if true, indicates that status messages should be written to the console.
pCount is the number of records to create.
pAsync if true, indicates that parallel processing should be used to build the cube.
pVerbose if true, indicates that status messages should be written to the console.
Add a new product and update the cube.
Add a new product and update the cube.
Change the (display) name of the specified product.
classmethod CreateComment() as %String
Return a random comment for a transaction.
classmethod CreateGeoIndex(ByRef pRegionList) as %Status
Create a temp index of geo locations in the US.
Delete a record in the transactional data that provides data for the DeepSee model.
pStart is the starting Id of the source record to delete.
pVerbose if true, indicates that status messages should be written to the console.
pVerbose if true, indicates that status messages should be written to the console.
classmethod GetCustomerLocation(pStoreCity As %String, Output pZipCode As %String, Output pLatitude As %Double, Output pLongitude As %Double) as %Boolean
Get city, latitude, and longitude for customer near the given store.
Add this alias so that each DeepSee sample has a Setup() method
classmethod SetupTermLists()
Purely for demo purposes, this method defines term lists used by this sample.
classmethod SetupVariables()
Purely for demo purposes, this method defines pivot variables used by this sample.
Update existing records to the transactional data that will provide data for the DeepSee model.
pCount is the number of records to create.
pVerbose if true, indicates that status messages should be written to the console.
pVerbose if true, indicates that status messages should be written to the console.
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()