Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cmu-db/benchbase
/ functions
Functions
2,267 in github.com/cmu-db/benchbase
⨍
Functions
2,267
◇
Types & classes
553
↓ 3 callers
Method
generatePageTitle
(Random rand, int page_id)
src/main/java/com/oltpbenchmark/benchmarks/wikipedia/util/WikipediaUtil.java:27
↓ 3 callers
Method
generateUserIP
()
src/main/java/com/oltpbenchmark/benchmarks/wikipedia/WikipediaWorker.java:47
↓ 3 callers
Method
get
(Class<? extends Procedure> clazz)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkWorker.java:263
↓ 3 callers
Method
getAdverbs
()
src/main/java/com/oltpbenchmark/benchmarks/tpch/util/Distributions.java:95
↓ 3 callers
Method
getAirlineCodes
()
src/main/java/com/oltpbenchmark/benchmarks/seats/procedures/Config.java:45
↓ 3 callers
Method
getBidCount
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/LoaderItemInfo.java:118
↓ 3 callers
Method
getCategoryID
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/Category.java:42
↓ 3 callers
Method
getCategoryMap
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/CategoryParser.java:109
↓ 3 callers
Method
getColumnIndex
(Column catalog_col)
src/main/java/com/oltpbenchmark/catalog/Table.java:71
↓ 3 callers
Method
getColumnTypes
()
src/main/java/com/oltpbenchmark/catalog/Table.java:58
↓ 3 callers
Method
getCount
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkLoader.java:506
↓ 3 callers
Method
getCreateDate
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/LoaderItemInfo.java:190
↓ 3 callers
Method
getCreateDateTime
For a given source_id, return the starting timestamp for any session/observation in the database. @param source_id @return
src/main/java/com/oltpbenchmark/benchmarks/otmetrics/OTMetricsUtil.java:31
↓ 3 callers
Method
getCurrentTime
()
src/main/java/com/oltpbenchmark/benchmarks/tpcc/TPCCUtil.java:77
↓ 3 callers
Method
getCustomerID
(Random r)
src/main/java/com/oltpbenchmark/benchmarks/tpcc/TPCCUtil.java:103
↓ 3 callers
Method
getDbType
()
src/main/java/com/oltpbenchmark/api/Procedure.java:41
↓ 3 callers
Method
getFilePath
(String filename, int fileCounter)
src/main/java/com/oltpbenchmark/api/collectors/monitoring/DatabaseMonitor.java:186
↓ 3 callers
Method
getForeignKey
()
src/main/java/com/oltpbenchmark/catalog/Column.java:62
↓ 3 callers
Method
getGlobalAttributeGroup
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/GlobalAttributeValueId.java:61
↓ 3 callers
Method
getHistogram
Return the histogram for the given name @param name @return
src/main/java/com/oltpbenchmark/benchmarks/seats/SEATSProfile.java:451
↓ 3 callers
Method
getId
Get the unique thread id for this worker
src/main/java/com/oltpbenchmark/api/Worker.java:108
↓ 3 callers
Method
getLastBid
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/LoaderItemInfo.java:132
↓ 3 callers
Method
getLastName
(int num)
src/main/java/com/oltpbenchmark/benchmarks/tpcc/TPCCUtil.java:107
↓ 3 callers
Method
getLatencyMicrosecond
()
src/main/java/com/oltpbenchmark/LatencyRecord.java:109
↓ 3 callers
Method
getLatencySamples
()
src/main/java/com/oltpbenchmark/Results.java:109
↓ 3 callers
Method
getMaxBid
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/LoaderItemInfo.java:182
↓ 3 callers
Method
getMaxValue
Get the largest value entered into the histogram This assumes that the values implement the Comparable interface @return
src/main/java/com/oltpbenchmark/util/Histogram.java:253
↓ 3 callers
Method
getNations
()
src/main/java/com/oltpbenchmark/benchmarks/tpch/util/Distributions.java:115
↓ 3 callers
Method
getNextLongBinomial
()
src/main/java/com/oltpbenchmark/benchmarks/templated/util/TemplatedValue.java:197
↓ 3 callers
Method
getNextLongScrambled
()
src/main/java/com/oltpbenchmark/benchmarks/templated/util/TemplatedValue.java:234
↓ 3 callers
Method
getNextLongUniform
()
src/main/java/com/oltpbenchmark/benchmarks/templated/util/TemplatedValue.java:214
↓ 3 callers
Method
getNextLongZipf
()
src/main/java/com/oltpbenchmark/benchmarks/templated/util/TemplatedValue.java:224
↓ 3 callers
Method
getPreparedStatementReturnKeys
Return a PreparedStatement for the given SQLStmt handle The underlying Procedure API will make sure that the proper SQL for the target DBMS is used fo
src/main/java/com/oltpbenchmark/api/Procedure.java:108
↓ 3 callers
Method
getProcedureNames
@return The list of Procedure names that we have dialect information for.
src/main/java/com/oltpbenchmark/api/StatementDialects.java:274
↓ 3 callers
Method
getRandomCompleteItem
COMPLETED ITEMS
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkProfile.java:946
↓ 3 callers
Method
getRandomGenerator
()
src/main/java/com/oltpbenchmark/benchmarks/seats/SEATSBenchmark.java:44
↓ 3 callers
Method
getRandomGlobalAttributeValue
Return a random GlobalAttributeValueId @return
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkProfile.java:982
↓ 3 callers
Method
getRandomIndex
(RowRandomInt random)
src/main/java/com/oltpbenchmark/benchmarks/tpch/util/TextPoolGenerator.java:227
↓ 3 callers
Method
getRandomSeed
The random seed for this benchmark @return
src/main/java/com/oltpbenchmark/WorkloadConfiguration.java:243
↓ 3 callers
Method
getReconnectOnConnectionFailure
@return @see reconnectOnConnectionFailure member docs for behavior.
src/main/java/com/oltpbenchmark/WorkloadConfiguration.java:170
↓ 3 callers
Method
getRetryDifferent
()
src/main/java/com/oltpbenchmark/Results.java:93
↓ 3 callers
Method
getSeatsBitSet
(FlightId flight_id)
src/main/java/com/oltpbenchmark/benchmarks/seats/SEATSWorker.java:143
↓ 3 callers
Method
getStartNanosecond
()
src/main/java/com/oltpbenchmark/LatencyRecord.java:105
↓ 3 callers
Method
getStatementDialects
Return the StatementDialects loaded for this benchmark
src/main/java/com/oltpbenchmark/api/BenchmarkModule.java:354
↓ 3 callers
Method
getStatus
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/ItemInfo.java:81
↓ 3 callers
Method
getTokens
(int index)
src/main/java/com/oltpbenchmark/benchmarks/tpch/util/TextPoolGenerator.java:232
↓ 3 callers
Method
getTransactionType
( SubmittedProcedure pieceOfWork, Phase phase, State state, WorkloadState workloadState)
src/main/java/com/oltpbenchmark/api/Worker.java:363
↓ 3 callers
Method
getType
(String procName)
src/main/java/com/oltpbenchmark/api/TransactionTypes.java:37
↓ 3 callers
Method
getType
Gets the value of the type property. @return possible object is {@link String }
src/main/java/com/oltpbenchmark/api/dialects/DialectType.java:89
↓ 3 callers
Method
getUnknown
()
src/main/java/com/oltpbenchmark/Results.java:77
↓ 3 callers
Method
getWaitForPurchaseItemsCount
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkProfile.java:939
↓ 3 callers
Method
get_config
Function that extracts the different types of configuration classes from the XML tree Returns: (DPConfig,ContinuousConfig,Sensiti
scripts/anonymization/src/configuration/config_parser.py:29
↓ 3 callers
Method
hasCurrentPrice
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/ItemInfo.java:45
↓ 3 callers
Method
hasFlights
(String airport_code)
src/main/java/com/oltpbenchmark/benchmarks/seats/SEATSProfile.java:663
↓ 3 callers
Method
hasNext
()
src/main/java/com/oltpbenchmark/benchmarks/seats/SEATSLoader.java:1816
↓ 3 callers
Method
hasNext
()
src/main/java/com/oltpbenchmark/util/TableDataIterable.java:105
↓ 3 callers
Method
initialize
Optional callback that can be used to initialize the Worker right before the benchmark execution begins
src/main/java/com/oltpbenchmark/api/Worker.java:732
↓ 3 callers
Method
initializeUserIdGenerator
(int clientId)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkProfile.java:388
↓ 3 callers
Method
isConnectionOK
Checks to see if a connection looks OK. @param conn @param checkValid Whether or not to issue a isValid() check on the connection. Note: this can
src/main/java/com/oltpbenchmark/util/SQLUtil.java:734
↓ 3 callers
Method
isDuplicateKeyException
(Exception ex)
src/main/java/com/oltpbenchmark/util/SQLUtil.java:674
↓ 3 callers
Method
isInPast
(int date)
src/main/java/com/oltpbenchmark/benchmarks/tpch/util/GenerateUtils.java:103
↓ 3 callers
Method
isLeapYear
(int year)
src/main/java/com/oltpbenchmark/benchmarks/tpch/util/GenerateUtils.java:124
↓ 3 callers
Method
isRateLimited
()
src/main/java/com/oltpbenchmark/Phase.java:77
↓ 3 callers
Method
isZeroEntriesEnabled
()
src/main/java/com/oltpbenchmark/util/Histogram.java:127
↓ 3 callers
Method
iterator
()
src/main/java/com/oltpbenchmark/LatencyRecord.java:177
↓ 3 callers
Method
julian
(int date)
src/main/java/com/oltpbenchmark/benchmarks/tpch/util/GenerateUtils.java:107
↓ 3 callers
Method
load
(String input_path)
src/main/java/com/oltpbenchmark/util/JSONSerializable.java:30
↓ 3 callers
Method
loadCodeXref
(List<Object[]> vt, String codeCol, String idCol)
src/main/java/com/oltpbenchmark/benchmarks/seats/SEATSProfile.java:354
↓ 3 callers
Method
loadFixedTable
The fixed tables are those that are generated from the static data files The number of tuples in these tables will not change based on the scale facto
src/main/java/com/oltpbenchmark/benchmarks/seats/SEATSLoader.java:461
↓ 3 callers
Method
loadItems
(AuctionMarkProfile profile, List<Object[]> vt)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkProfile.java:421
↓ 3 callers
Method
loadProfile
Load the profile information stored in the database @param
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkProfile.java:323
↓ 3 callers
Method
makeDirIfNotExists
Create any directory in the list paths if it doesn't exist @param paths
src/main/java/com/oltpbenchmark/util/FileUtil.java:102
↓ 3 callers
Method
nextLong
Get the next random number as a long @return the next random number.
src/main/java/com/oltpbenchmark/util/RandomDistribution.java:111
↓ 3 callers
Method
nstring
@returns a random numeric string with length in range [minimum_length, maximum_length].
src/main/java/com/oltpbenchmark/benchmarks/tatp/TATPUtil.java:48
↓ 3 callers
Method
number
Returns a random int value between minimum and maximum (inclusive) @param minimum @param maximum @returns a int in the range [minimum, maximum]. Note
src/main/java/com/oltpbenchmark/util/RandomGenerator.java:41
↓ 3 callers
Method
printUsage
(Options options)
src/main/java/com/oltpbenchmark/DBWorkload.java:802
↓ 3 callers
Method
random
()
src/main/java/com/oltpbenchmark/distributions/Utils.java:27
↓ 3 callers
Method
randomFastChars
Faster (pseudo) random number generator @param rng @param chars @return
src/main/java/com/oltpbenchmark/util/TextGenerator.java:79
↓ 3 callers
Method
readCollectionField
Read data from the given JSONArray and populate the given Collection @param json_array @param collection @param inner_classes @throws Exception
src/main/java/com/oltpbenchmark/util/JSONUtil.java:372
↓ 3 callers
Method
remove
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/UserIdGenerator.java:200
↓ 3 callers
Method
remove
()
src/main/java/com/oltpbenchmark/util/TableDataIterable.java:156
↓ 3 callers
Method
removeAll
Remove the entire count for the given value @param value
src/main/java/com/oltpbenchmark/util/Histogram.java:430
↓ 3 callers
Method
resizeText
Resize the given block of text by the delta and add random characters to the new space in the array. Returns a new character array @param rng @param
src/main/java/com/oltpbenchmark/util/TextGenerator.java:120
↓ 3 callers
Method
rm
(String name)
src/test/java/com/oltpbenchmark/util/TestFileUtil.java:45
↓ 3 callers
Method
runScript
(String path)
src/main/java/com/oltpbenchmark/util/ScriptRunner.java:57
↓ 3 callers
Method
seekToPosition
(int position)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/UserIdGenerator.java:101
↓ 3 callers
Method
setAfterLoadScriptPath
(String scriptPath)
src/main/java/com/oltpbenchmark/api/BenchmarkModule.java:94
↓ 3 callers
Method
setBatchSize
(int batchSize)
src/main/java/com/oltpbenchmark/WorkloadConfiguration.java:122
↓ 3 callers
Method
setSeed
Sets the value of the seed property. @param value allowed object is {@link String }
src/main/java/com/oltpbenchmark/api/templates/ValueType.java:137
↓ 3 callers
Method
setTransTypes
(TransactionTypes transTypes)
src/main/java/com/oltpbenchmark/WorkloadConfiguration.java:331
↓ 3 callers
Method
setUrl
(String url)
src/main/java/com/oltpbenchmark/WorkloadConfiguration.java:90
↓ 3 callers
Method
shouldUpdateColumnSequenceAfterLoad
@return True if the framework should attempt to update the column sequence after loading data.
src/main/java/com/oltpbenchmark/types/DatabaseType.java:113
↓ 3 callers
Method
subArr
Returns sub array of arr, with length in range [min_len, max_len]. Each element in arr appears at most once in sub array.
src/main/java/com/oltpbenchmark/benchmarks/tatp/TATPUtil.java:83
↓ 3 callers
Method
switchToNextPhase
()
src/main/java/com/oltpbenchmark/WorkloadState.java:195
↓ 3 callers
Method
tearDown
Called at the end of the test to do any clean up that may be required.
src/main/java/com/oltpbenchmark/api/Worker.java:775
↓ 3 callers
Method
toArray
()
src/test/java/com/oltpbenchmark/util/TestCompositeIdRange.java:54
↓ 3 callers
Method
toString
Histogram Pretty Print
src/main/java/com/oltpbenchmark/util/Histogram.java:493
↓ 3 callers
Method
truncateTable
(Connection conn, String strTable)
src/main/java/com/oltpbenchmark/benchmarks/chbenchmark/CHBenCHmarkLoader.java:145
↓ 3 callers
Method
zeta
Compute the zeta constant needed for the distribution. Do this from scratch for a distribution with n items, using the zipfian constant theta. Remembe
src/main/java/com/oltpbenchmark/distributions/ZipfianGenerator.java:167
↓ 3 callers
Method
zetastatic
Compute the zeta constant needed for the distribution. Do this from scratch for a distribution with n items, using the zipfian constant theta. This is
src/main/java/com/oltpbenchmark/distributions/ZipfianGenerator.java:180
← previous
next →
301–400 of 2,267, ranked by callers