Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Globals/GlobalsDB
/ functions
Functions
199 in github.com/Globals/GlobalsDB
⨍
Functions
199
◇
Types & classes
30
↓ 15 callers
Method
random
Returns a random integer in the from/to range as a String. @param from from @param to to @return String random integer as String
gds/com/intersys/gds/test/BasicTest.java:310
↓ 14 callers
Method
clear
Removes the entire DocumentMap from the database. Use extreme caution as calling this method effectively erases all data.
gds/com/intersys/gds/DocumentMap.java:164
↓ 11 callers
Method
getTime
Returns current time. @return long current time
gds/com/intersys/gds/test/BasicTest.java:317
↓ 9 callers
Method
randomInt
Generates a random integer. @return double random integer
gds/com/intersys/gds/test/BasicTest.java:285
↓ 8 callers
Method
clear
Removes the entire DocumentMap from the database. Use extreme caution as calling this method effectively erases all data.
gds/com/intersys/gds/noschema/NoSchemaMap.java:185
↓ 7 callers
Method
equals
Runs a sample Equals query. @param key key @param value value to match
gds/com/intersys/gds/test/Test.java:46
↓ 7 callers
Method
size
Returns the size of the result set. Can be called only before the first call to next, otherwise an exception is thrown. @return int size of the resul
gds/com/intersys/gds/query/Query.java:85
↓ 6 callers
Method
createDocumentType
Create a new DocumentType object. @param name DocumentType name @return DocumentType return a newly created DocumentType
gds/com/intersys/gds/DocumentType.java:43
↓ 6 callers
Method
executeQuery
(Query query)
gds/com/intersys/gds/test/GDSTest.java:144
↓ 6 callers
Method
randomTimestamp
Generates a random timestamp. @return String random timestamp
gds/com/intersys/gds/test/BasicTest.java:299
↓ 5 callers
Method
addIndex
Designates the field as an index. Any number of individual indices can be created. Compound indices (two or more fields) are currently not supported.
gds/com/intersys/gds/DocumentType.java:145
↓ 5 callers
Method
randomDate
Generates a random date. @return String random date
gds/com/intersys/gds/test/BasicTest.java:206
↓ 5 callers
Method
saveDocumentType
Saves a DocumentTypes. @param documentType DocumentType to be saved
gds/com/intersys/gds/Connection.java:31
↓ 5 callers
Method
writeElement
(String name, String data)
gds/com/intersys/gds/Util.java:129
↓ 4 callers
Method
getDocumentMap
DocumentMap Factory. @param name schema name @return DocumentMap DocumentMap
gds/com/intersys/gds/Connection.java:22
↓ 4 callers
Method
isEmpty
Checks if this DocumentMap has any elements. @return boolean true if DocumentMap is empty, false otherwise
gds/com/intersys/gds/noschema/NoSchemaMap.java:158
↓ 4 callers
Method
randomPhone
Generates a random phone number. @return String random phone number
gds/com/intersys/gds/test/BasicTest.java:245
↓ 4 callers
Method
setReference
Sets a new reference key value pair. Type specified must be either TYPE_REFERENCE or TYPE_REFERENCE_ARRAY @param name key name @param type value type
gds/com/intersys/gds/DocumentType.java:128
↓ 3 callers
Method
checkParameters
Checks input parameters and reads them in if present.
gds/com/intersys/gds/test/BasicTest.java:57
↓ 3 callers
Method
deleteDocumentType
Deletes a Document Type. @param name name of the DocumentType to be deleted
gds/com/intersys/gds/Connection.java:48
↓ 3 callers
Method
getDBID
()
gds/com/intersys/gds/noschema/NoSchemaDocument.java:29
↓ 3 callers
Method
randomZip
Generates a random zip number. @return String random zip number
gds/com/intersys/gds/test/BasicTest.java:254
↓ 3 callers
Method
reportStore
Reports store duration and rates.
gds/com/intersys/gds/test/BasicTest.java:324
↓ 3 callers
Method
write
(String key, Document document, DocumentType type, ValueList valueList)
gds/com/intersys/gds/DocumentMap.java:270
↓ 2 callers
Method
buildIndices
()
gds/com/intersys/gds/DocumentMap.java:66
↓ 2 callers
Method
close
Closes the connection.
gds/com/intersys/gds/test/GDSTest.java:186
↓ 2 callers
Method
execute
(DocumentMap dm)
gds/com/intersys/gds/query/Or.java:24
↓ 2 callers
Method
generateCustomers
Generates Customers Documents. @param count number of customers to generate @param accounts accounts @return ArrayList<NoSchemaDocument> an array li
gds/com/intersys/gds/test/NoSchema.java:179
↓ 2 callers
Method
getDocumentType
Returns the corresponding DocumentType. @return DocumentType DocumentType object
gds/com/intersys/gds/DocumentMap.java:186
↓ 2 callers
Method
getNoSchemaMap
NoSchemaMap Factory. @param name schema name @return NoSchemaMap NoSchemaMap
gds/com/intersys/gds/noschema/NoSchemaConnection.java:20
↓ 2 callers
Method
getReferenceGlobal
(String name)
gds/com/intersys/gds/DocumentMap.java:368
↓ 2 callers
Method
getUniqueAccountNumber
()
gds/com/intersys/gds/test/BasicTest.java:351
↓ 2 callers
Method
init
(DocumentMap dm)
gds/com/intersys/gds/query/Query.java:154
↓ 2 callers
Method
initializeType
(Document document)
gds/com/intersys/gds/DocumentType.java:152
↓ 2 callers
Method
isPrimitiveWrapper
(Class type)
gds/com/intersys/gds/Util.java:7
↓ 2 callers
Method
randomFloat
Generates a random double. @return double random double
gds/com/intersys/gds/test/BasicTest.java:276
↓ 2 callers
Method
randomName
Generates a random five letter name. @return String a five letter random name
gds/com/intersys/gds/test/BasicTest.java:190
↓ 2 callers
Method
randomSSN
Generates a random SSN. @return String random SSN
gds/com/intersys/gds/test/BasicTest.java:267
↓ 2 callers
Method
read
(Document document, ValueList valueList, DocumentType documentType)
gds/com/intersys/gds/DocumentMap.java:201
↓ 2 callers
Method
reportLoad
Reports query duration and rates.
gds/com/intersys/gds/test/BasicTest.java:334
↓ 2 callers
Method
reportQuery
Reports query duration and rates.
gds/com/intersys/gds/test/BasicTest.java:344
↓ 2 callers
Method
setDBID
(String n, Object id)
gds/com/intersys/gds/noschema/NoSchemaDocument.java:33
↓ 2 callers
Method
startsWith
startsWith query. Finds all elements whose values corresponding to the given <CODE>key</CODE> start with <CODE>pattern</CODE> @param key key @param p
gds/com/intersys/gds/test/Test.java:21
↓ 2 callers
Method
store
Stores a Document. If store succeeds, the Document is also removed from the runtime memory. @param key key @param value Document to store
gds/com/intersys/gds/DocumentMap.java:96
↓ 2 callers
Method
toJSON
Returns the current Document object as JSON String. @param separator line separator @return String JSON string representation of this Document
gds/com/intersys/gds/Document.java:54
↓ 2 callers
Method
toStringArray
(Object[] array)
gds/com/intersys/gds/Util.java:91
↓ 2 callers
Method
validateNumericType
(Number number)
gds/com/intersys/gds/Util.java:133
↓ 2 callers
Method
write
(NoSchemaDocument document, ValueList valueList)
gds/com/intersys/gds/noschema/NoSchemaMap.java:69
↓ 2 callers
Method
writeDocument
(String key, Document doc, DocumentType type, ValueList valueList, ValueList scratch)
gds/com/intersys/gds/DocumentMap.java:316
↓ 2 callers
Method
writeDocument
(NoSchemaDocument doc, ValueList valueList, ValueList scratch, boolean isReference)
gds/com/intersys/gds/noschema/NoSchemaMap.java:90
↓ 1 callers
Method
and
Runs a sample And query by combining two conditions.
gds/com/intersys/gds/test/Test.java:35
↓ 1 callers
Method
apply
(Object candidate)
gds/com/intersys/gds/query/Not.java:54
↓ 1 callers
Method
apply
Abstract apply method. Each query will provide it's own implementation. @param candidate candidate
gds/com/intersys/gds/query/Query.java:57
↓ 1 callers
Method
between
between query. Finds all elements whose values corresponding to the given <CODE>key</CODE> are between <CODE>from</CODE> and <CODE>to</CODE> @param k
gds/com/intersys/gds/test/Test.java:31
↓ 1 callers
Method
cast
(String value, int type)
gds/com/intersys/gds/ElementType.java:81
↓ 1 callers
Method
close
Closes the connection.
gds/com/intersys/gds/test/NoSchema.java:213
↓ 1 callers
Method
close
Closes the connection.
gds/com/intersys/gds/test/Benchmark.java:133
↓ 1 callers
Method
createMaps
Creates Accounts and Customers NoSchemaMaps
gds/com/intersys/gds/test/NoSchema.java:83
↓ 1 callers
Method
createSchema
Generates Customer and Account schema. The schema is stored in ^Schema global. Corresponding global node entries are ^Schema(Customers) and ^Schema(Ac
gds/com/intersys/gds/test/GDSTest.java:211
↓ 1 callers
Method
createSchema
()
gds/com/intersys/gds/test/Benchmark.java:144
↓ 1 callers
Method
deleteData
Deletes all Customers and Accounts data stored in ^Customers and ^Accounts globals
gds/com/intersys/gds/test/GDSTest.java:160
↓ 1 callers
Method
deleteData
Deletes all Customers and Accounts data stored in ^Customers and ^Accounts globals
gds/com/intersys/gds/test/NoSchema.java:76
↓ 1 callers
Method
deleteData
()
gds/com/intersys/gds/test/Benchmark.java:113
↓ 1 callers
Method
deleteSchema
Deletes Customers and Accounts schema (by deleting ^Schema(Customers), ^Schema(Accounts), ^Index(Customers) and ^Index(Accounts) global nodes
gds/com/intersys/gds/test/GDSTest.java:241
↓ 1 callers
Method
deleteSchema
Deletes Benchmark schema (by deleting ^Schema(Benchmark) global node)
gds/com/intersys/gds/test/Benchmark.java:140
↓ 1 callers
Method
generateAccount
Generates an Account Document. @param ownerId an id linking the account to Customer @param documentClass target document type (for example, for GSD
gds/com/intersys/gds/test/BasicTest.java:93
↓ 1 callers
Method
generateAccounts
Generates Accounts Documents. @param count number of accounts to generate @return ArrayList<NoSchemaDocument> an array list of accounts
gds/com/intersys/gds/test/NoSchema.java:133
↓ 1 callers
Method
generateAddress
Generates Address Document. @param documentClass target document type (for example, for GSD - Document, for MongoDB - BasicDBObj
gds/com/intersys/gds/test/BasicTest.java:74
↓ 1 callers
Method
generateAddresses
Generates Addresses Documents. @param count number of addresses to generate @return ArrayList<NoSchemaDocument> an array list of addresses
gds/com/intersys/gds/test/NoSchema.java:102
↓ 1 callers
Method
generateSampleData
Generates sample data
gds/com/intersys/gds/test/GDSTest.java:167
↓ 1 callers
Method
generateSampleData
Generates sample data
gds/com/intersys/gds/test/NoSchema.java:90
↓ 1 callers
Method
generateSampleData
()
gds/com/intersys/gds/test/Benchmark.java:78
↓ 1 callers
Method
generateTransactions
Generates Transaction Document array. @param documentClass target document type (for example, for GSD - Document, for MongoDB -
gds/com/intersys/gds/test/BasicTest.java:119
↓ 1 callers
Method
getConnection
Returns the current connection object. @return Connection current connection
gds/com/intersys/gds/DocumentMap.java:172
↓ 1 callers
Method
getIndexGlobal
(String name)
gds/com/intersys/gds/DocumentMap.java:378
↓ 1 callers
Method
getName
@return the name
gds/com/intersys/gds/test/Value.java:19
↓ 1 callers
Method
getName
()
gds/com/intersys/gds/noschema/NoSchemaDocument.java:38
↓ 1 callers
Method
getType
(String fieldName)
gds/com/intersys/gds/DocumentType.java:281
↓ 1 callers
Method
init
Performs initialization by reading program parameters, connecting, generating sample Accounts and Customers data, as well as creating the correspondin
gds/com/intersys/gds/test/GDSTest.java:175
↓ 1 callers
Method
init
Performs initialization by reading program parameters, connecting, generating sample Accounts and Customers data, as well as creating the correspondin
gds/com/intersys/gds/test/NoSchema.java:205
↓ 1 callers
Method
init
Performs initialization by reading program parameters, connecting, generating sample Accounts and Customers data, as well as creating the correspondin
gds/com/intersys/gds/test/Benchmark.java:121
↓ 1 callers
Method
isBasicType
()
gds/com/intersys/gds/ElementType.java:70
↓ 1 callers
Method
isDatatype
(Class type)
gds/com/intersys/gds/Util.java:19
↓ 1 callers
Method
isEmpty
Checks if this DocumentMap has any elements. @return boolean true if DocumentMap is empty, false otherwise
gds/com/intersys/gds/DocumentMap.java:137
↓ 1 callers
Method
isIndexUnique
(String name)
gds/com/intersys/gds/DocumentType.java:289
↓ 1 callers
Method
jsonStringArray
(String[] stringArray)
gds/com/intersys/gds/Util.java:105
↓ 1 callers
Method
limit
Limit the size of the result set. Defaults to 0 (zero) which means there will be no limit set. @param lim result set size limit
gds/com/intersys/gds/query/Query.java:101
↓ 1 callers
Method
load
Loads a Document given it's key. Returns the corresponding Document, or null if there isn't one. @param key key @return Document Document
gds/com/intersys/gds/DocumentMap.java:113
↓ 1 callers
Method
load
Test and profile data load.
gds/com/intersys/gds/test/GDSTest.java:58
↓ 1 callers
Method
load
Test and profile load data.
gds/com/intersys/gds/test/NoSchema.java:62
↓ 1 callers
Method
load
Test and profile data load.
gds/com/intersys/gds/test/Benchmark.java:62
↓ 1 callers
Method
load
Loads a NoSchemaDocument given it's key. Since there is no schema an instance of a NoSchemaDocument needs to be passed in. Returns the corresponding N
gds/com/intersys/gds/noschema/NoSchemaMap.java:56
↓ 1 callers
Method
loadIndices
(NodeReference indexGlobal)
gds/com/intersys/gds/DocumentType.java:263
↓ 1 callers
Method
next
Returns the next Document matching this Query. Returns null if no more Documents. @return Document next Document or null if none
gds/com/intersys/gds/query/Query.java:65
↓ 1 callers
Method
or
Runs a sample Or query by combining two conditions.
gds/com/intersys/gds/test/Test.java:39
↓ 1 callers
Method
patternMatch
Perform PatternMatch query. @param key key @param pattern pattern
gds/com/intersys/gds/test/Test.java:53
↓ 1 callers
Method
randomTime
Generates a random time. @return String random time
gds/com/intersys/gds/test/BasicTest.java:224
↓ 1 callers
Method
read
(NoSchemaDocument document, ValueList valueList, NoSchemaDocument blueprint)
gds/com/intersys/gds/noschema/NoSchemaMap.java:103
↓ 1 callers
Method
readDoubleArray
(Document document, String key)
gds/com/intersys/gds/DocumentMap.java:527
↓ 1 callers
Method
readDoubleWrapperArray
(Document document, String key)
gds/com/intersys/gds/DocumentMap.java:541
next →
1–100 of 199, ranked by callers