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
↓ 2 callers
Method
writeStringToFile
(File file, String content)
src/main/java/com/oltpbenchmark/util/FileUtil.java:114
↓ 2 callers
Method
writeToCSV
()
src/main/java/com/oltpbenchmark/api/collectors/monitoring/DatabaseMonitor.java:204
↓ 1 callers
Method
FNVhash64
64 bit FNV hash. Produces more "random" hashes than (say) String.hashCode(). @param val The value to hash. @return The hash value
src/main/java/com/oltpbenchmark/distributions/Utils.java:45
↓ 1 callers
Method
__get_timestamp_indexes
Function that analyzes table metadata and returns a list of indexes of time-related columns Args: col_types (list): A list of col
scripts/anonymization/src/modules/jdbc_handler.py:75
↓ 1 callers
Method
ackLatencyComplete
()
src/main/java/com/oltpbenchmark/BenchmarkState.java:84
↓ 1 callers
Method
addLatency
( int transType, long startNanosecond, long endNanosecond, int workerId, int phaseId)
src/main/java/com/oltpbenchmark/LatencyRecord.java:46
↓ 1 callers
Method
addNewCategory
(String fullCategoryName, int itemCount, boolean isLeaf)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/CategoryParser.java:75
↓ 1 callers
Method
addPendingItemCommentResponse
(ItemCommentResponse cr)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkProfile.java:681
↓ 1 callers
Method
addPhase
( int id, int time, int warmup, double rate, List<Double> weights, boolean
src/main/java/com/oltpbenchmark/WorkloadConfiguration.java:189
↓ 1 callers
Method
addRow
When called, the generator will populate a new row record and append it to the underlying VoltTable
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkLoader.java:514
↓ 1 callers
Method
addSubTableGenerator
( SubTableGenerator<?> sub_item)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkLoader.java:416
↓ 1 callers
Method
addToQueue
Add a request to do work.
src/main/java/com/oltpbenchmark/WorkloadState.java:60
↓ 1 callers
Method
addToWatchlist
(Connection conn, int userId, int nameSpace, String pageTitle)
src/main/java/com/oltpbenchmark/benchmarks/wikipedia/WikipediaWorker.java:157
↓ 1 callers
Method
afterLoad
()
src/main/java/com/oltpbenchmark/api/LoaderThread.java:70
↓ 1 callers
Function
anonymize_db
jdbc_handler.start_JVM() conn = jdbc_handler.get_connection() table = anon_config.table_name dataset, timestamps = jdbc_handler.dat
scripts/anonymization/src/anonymizer.py:36
↓ 1 callers
Method
applyAnonymization
Handles the anonymization of specified tables with differential privacy and automatically creates an anonymized copy of the table. Adapts templated qu
src/main/java/com/oltpbenchmark/DBWorkload.java:832
↓ 1 callers
Method
astring
@returns a random alphabetic string with length in range [minimum_length, maximum_length].
src/main/java/com/oltpbenchmark/util/RandomGenerator.java:94
↓ 1 callers
Method
availableProcessors
()
src/main/java/com/oltpbenchmark/util/ThreadUtil.java:57
↓ 1 callers
Method
averageRatingByTrustedUser
(Connection conn)
src/main/java/com/oltpbenchmark/benchmarks/epinions/EpinionsWorker.java:88
↓ 1 callers
Method
averageRatingOfItem
(Connection conn)
src/main/java/com/oltpbenchmark/benchmarks/epinions/EpinionsWorker.java:96
↓ 1 callers
Method
beforeLoad
()
src/main/java/com/oltpbenchmark/api/LoaderThread.java:65
↓ 1 callers
Method
beforeLoad
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkLoader.java:178
↓ 1 callers
Method
box
Make a box around some text. If str has multiple lines, then the box will be the length of the longest string. @param str @return
src/main/java/com/oltpbenchmark/util/StringUtil.java:301
↓ 1 callers
Method
buildOptions
(XMLConfiguration pluginConfig)
src/main/java/com/oltpbenchmark/DBWorkload.java:589
↓ 1 callers
Method
buildTemplatedValueString
(List<TemplatedValue> params)
src/main/java/com/oltpbenchmark/benchmarks/templated/TemplatedBenchmark.java:264
↓ 1 callers
Method
calculateMean
(int num_samples)
src/main/java/com/oltpbenchmark/util/RandomDistribution.java:84
↓ 1 callers
Method
callbackFinished
Simple callback when the ScalingDataIterable is finished
src/main/java/com/oltpbenchmark/benchmarks/seats/SEATSLoader.java:833
↓ 1 callers
Method
canExecute
This will return true if we can call a new transaction for this procedure A txn can be called if we can generate all of the parameters we need @retur
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkWorker.java:273
↓ 1 callers
Method
canGenerateParam
Returns true if the client will be able to successfully generate a new transaction call The client passes in the current BenchmarkProfile handle and a
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkWorker.java:117
↓ 1 callers
Method
cancel
()
src/main/java/com/oltpbenchmark/jdbc/AutoIncrementPreparedStatement.java:101
↓ 1 callers
Method
cancelStatement
Stop executing the current statement.
src/main/java/com/oltpbenchmark/api/Worker.java:176
↓ 1 callers
Method
castValue
For the given string representation of a value, convert it to the proper object based on its sqlType @param sqlType @param value @return @see java.sq
src/main/java/com/oltpbenchmark/util/SQLUtil.java:314
↓ 1 callers
Method
clearCachedProfile
()
src/main/java/com/oltpbenchmark/benchmarks/seats/SEATSProfile.java:240
↓ 1 callers
Method
clearDatabase
()
src/main/java/com/oltpbenchmark/api/BenchmarkModule.java:321
↓ 1 callers
Method
collectMetrics
()
src/main/java/com/oltpbenchmark/api/collectors/DBParameterCollector.java:27
↓ 1 callers
Method
collectParameters
()
src/main/java/com/oltpbenchmark/api/collectors/DBParameterCollector.java:25
↓ 1 callers
Method
collectVersion
()
src/main/java/com/oltpbenchmark/api/collectors/DBParameterCollector.java:29
↓ 1 callers
Method
compareTo
(TransactionType o)
src/main/java/com/oltpbenchmark/api/TransactionType.java:94
↓ 1 callers
Method
compareTo
(UserId o)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/UserId.java:112
↓ 1 callers
Method
contention1Transaction
(Connection conn, int howManyUpdates, int sleepLength)
src/main/java/com/oltpbenchmark/benchmarks/resourcestresser/ResourceStresserWorker.java:91
↓ 1 callers
Method
contention2Transaction
( Connection conn, int howManyKeys, int howManyUpdates, int sleepLength)
src/main/java/com/oltpbenchmark/benchmarks/resourcestresser/ResourceStresserWorker.java:98
↓ 1 callers
Method
convertTimeString
Convert a time string "HH:MM" to a Timestamp object @param code @return
src/main/java/com/oltpbenchmark/benchmarks/seats/SEATSLoader.java:1332
↓ 1 callers
Method
copyProfile
(AuctionMarkWorker worker, AuctionMarkProfile other)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkProfile.java:272
↓ 1 callers
Method
cpu1Transaction
( Connection conn, int howManyPerTransaction, int sleepLength, int nestedLevel)
src/main/java/com/oltpbenchmark/benchmarks/resourcestresser/ResourceStresserWorker.java:135
↓ 1 callers
Method
cpu2Transaction
( Connection conn, int howManyPerTransaction, int sleepLength, int nestedLevel)
src/main/java/com/oltpbenchmark/benchmarks/resourcestresser/ResourceStresserWorker.java:143
↓ 1 callers
Method
createDatabase
()
src/test/java/com/oltpbenchmark/benchmarks/templated/TestTemplatedWorker.java:102
↓ 1 callers
Method
createDialectType
Create an instance of {@link DialectType }
src/main/java/com/oltpbenchmark/api/dialects/ObjectFactory.java:54
↓ 1 callers
Method
createDialects
Create an instance of {@link JAXBElement }{@code <}{@link DialectsType }{@code >}}
src/main/java/com/oltpbenchmark/api/dialects/ObjectFactory.java:74
↓ 1 callers
Method
createDialectsType
Create an instance of {@link DialectsType }
src/main/java/com/oltpbenchmark/api/dialects/ObjectFactory.java:69
↓ 1 callers
Method
createGenerator
@param distribution The distribution that drives the generator @param min Minimum value the generator will produce @param max Maximum value the genera
src/main/java/com/oltpbenchmark/benchmarks/templated/util/TemplatedValue.java:140
↓ 1 callers
Method
createLoaderThreads
Each Loader will generate a list of Runnable objects that will perform the loading operation for the benchmark. The number of threads that will be lau
src/main/java/com/oltpbenchmark/api/Loader.java:67
↓ 1 callers
Method
createProcedureType
Create an instance of {@link ProcedureType }
src/main/java/com/oltpbenchmark/api/dialects/ObjectFactory.java:64
↓ 1 callers
Method
createStatementType
Create an instance of {@link StatementType }
src/main/java/com/oltpbenchmark/api/dialects/ObjectFactory.java:59
↓ 1 callers
Method
createTerminals
()
src/main/java/com/oltpbenchmark/benchmarks/tpcc/TPCCBenchmark.java:63
↓ 1 callers
Method
createWorkerThreads
()
src/main/java/com/oltpbenchmark/ThreadBench.java:66
↓ 1 callers
Method
customWorkloadConfiguration
(WorkloadConfiguration workConf)
src/test/java/com/oltpbenchmark/api/AbstractTestCase.java:241
↓ 1 callers
Method
decode
(String composite_id)
src/test/java/com/oltpbenchmark/util/TestCompositeIdRange.java:47
↓ 1 callers
Method
decode
(String composite_id)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/GlobalAttributeGroupId.java:55
↓ 1 callers
Method
decode
(String composite_id)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/UserId.java:65
↓ 1 callers
Method
decode
(String composite_id)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/ItemId.java:54
↓ 1 callers
Method
decode
(String composite_id)
src/main/java/com/oltpbenchmark/benchmarks/seats/util/FlightId.java:86
↓ 1 callers
Method
decode
(String composite_id)
src/main/java/com/oltpbenchmark/benchmarks/seats/util/CustomerId.java:48
↓ 1 callers
Method
decrementFlightSeat
Decrement the number of available seats for a flight and return the total amount remaining
src/main/java/com/oltpbenchmark/benchmarks/seats/SEATSLoader.java:1882
↓ 1 callers
Method
deleteOrder
(Connection conn, int w_id, int d_id, int no_o_id)
src/main/java/com/oltpbenchmark/benchmarks/tpcc/procedures/Delivery.java:197
↓ 1 callers
Method
deleteRecord
(Connection conn)
src/main/java/com/oltpbenchmark/benchmarks/ycsb/YCSBWorker.java:132
↓ 1 callers
Method
doInsertTweet
(Connection conn, int uid, String text)
src/main/java/com/oltpbenchmark/benchmarks/twitter/TwitterWorker.java:100
↓ 1 callers
Method
doSelect1Tweet
(Connection conn, int tweet_id)
src/main/java/com/oltpbenchmark/benchmarks/twitter/TwitterWorker.java:76
↓ 1 callers
Method
doSelectNamesOfPplThatFollowMe
(Connection conn, int uid)
src/main/java/com/oltpbenchmark/benchmarks/twitter/TwitterWorker.java:88
↓ 1 callers
Method
doSelectTweetsForUid
(Connection conn, int uid)
src/main/java/com/oltpbenchmark/benchmarks/twitter/TwitterWorker.java:94
↓ 1 callers
Method
doSelectTweetsFromPplIFollow
(Connection conn, int uid)
src/main/java/com/oltpbenchmark/benchmarks/twitter/TwitterWorker.java:82
↓ 1 callers
Method
doWork
Called in a loop in the thread to exercise the system under test. Each implementing worker should return the TransactionType handle that was executed.
src/main/java/com/oltpbenchmark/api/Worker.java:401
↓ 1 callers
Method
enabledAdvancedMonitoring
Enable monitoring for this procedure by adding a monitoring prefixes.
src/main/java/com/oltpbenchmark/api/Procedure.java:165
↓ 1 callers
Method
encode
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/GlobalAttributeGroupId.java:50
↓ 1 callers
Method
equals
(Object o)
src/test/java/com/oltpbenchmark/util/TestCompositeIdRange.java:67
↓ 1 callers
Method
equals
(Object obj)
src/main/java/com/oltpbenchmark/benchmarks/seats/SEATSWorker.java:217
↓ 1 callers
Method
execGetSessionRange
(Connection conn)
src/main/java/com/oltpbenchmark/benchmarks/otmetrics/OTMetricsWorker.java:54
↓ 1 callers
Method
executeDeleteReservation
(Connection conn, DeleteReservation proc)
src/main/java/com/oltpbenchmark/benchmarks/seats/SEATSWorker.java:386
↓ 1 callers
Method
executeFindFlights
Execute one of the FindFlight transactions @param conn @param proc @throws SQLException
src/main/java/com/oltpbenchmark/benchmarks/seats/SEATSWorker.java:447
↓ 1 callers
Method
executeGetItem
(Connection conn, GetItem proc)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkWorker.java:489
↓ 1 callers
Method
executeGetUserInfo
(Connection conn, GetUserInfo proc)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkWorker.java:509
↓ 1 callers
Method
executeNewBid
(Connection conn, NewBid proc)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkWorker.java:581
↓ 1 callers
Method
executeNewComment
(Connection conn, NewComment proc)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkWorker.java:663
↓ 1 callers
Method
executeNewCommentResponse
(Connection conn, NewCommentResponse proc)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkWorker.java:694
↓ 1 callers
Method
executeNewFeedback
(Connection conn, NewFeedback proc)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkWorker.java:718
↓ 1 callers
Method
executeNewItem
(Connection conn, NewItem proc)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkWorker.java:753
↓ 1 callers
Method
executeNewPurchase
(Connection conn, NewPurchase proc)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkWorker.java:825
↓ 1 callers
Method
executeNewReservation
(Connection conn, NewReservation proc)
src/main/java/com/oltpbenchmark/benchmarks/seats/SEATSWorker.java:600
↓ 1 callers
Method
executeUpdateCustomer
(Connection conn, UpdateCustomer proc)
src/main/java/com/oltpbenchmark/benchmarks/seats/SEATSWorker.java:684
↓ 1 callers
Method
executeUpdateItem
(Connection conn, UpdateItem proc)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkWorker.java:863
↓ 1 callers
Method
executeUpdateReservation
(Connection conn, UpdateReservation proc)
src/main/java/com/oltpbenchmark/benchmarks/seats/SEATSWorker.java:716
↓ 1 callers
Method
extractCategory
(String s)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/CategoryParser.java:56
↓ 1 callers
Method
extractPerformanceMetrics
Extract system events using the extraction query and properties defined above, will fail gracefully to not interrupt benchmarking.
src/main/java/com/oltpbenchmark/api/collectors/monitoring/SQLServerMonitor.java:201
↓ 1 callers
Method
extractQueryMetrics
Extract query events (single and repeated) using the extraction query and properties defined above.
src/main/java/com/oltpbenchmark/api/collectors/monitoring/SQLServerMonitor.java:135
↓ 1 callers
Method
extractQueryMetrics
Extract query events (single and repeated) using the extraction query and properties defined above.
src/main/java/com/oltpbenchmark/api/collectors/monitoring/PostgreSQLMonitor.java:71
↓ 1 callers
Method
fetchWork
Called by ThreadPoolThreads when waiting for work.
src/main/java/com/oltpbenchmark/WorkloadState.java:103
↓ 1 callers
Method
finalizeWorkers
(ArrayList<Thread> workerThreads)
src/main/java/com/oltpbenchmark/ThreadBench.java:83
↓ 1 callers
Method
findAvailablePort
()
src/test/java/com/oltpbenchmark/api/AbstractTestCase.java:190
↓ 1 callers
Method
finishElementCallback
(T t)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkLoader.java:666
↓ 1 callers
Method
finishedWork
()
src/main/java/com/oltpbenchmark/WorkloadState.java:160
↓ 1 callers
Method
formatDate
(int epochDate)
src/main/java/com/oltpbenchmark/benchmarks/tpch/util/GenerateUtils.java:70
← previous
next →
601–700 of 2,267, ranked by callers