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
↓ 12 callers
Method
nextLong
Get a random value between lowValue (inclusive) and highValue (inclusive).
src/main/java/com/oltpbenchmark/util/RowRandomLong.java:37
↓ 12 callers
Method
nextValue
()
src/main/java/com/oltpbenchmark/util/RandomDistribution.java:201
↓ 12 callers
Method
toString
()
src/main/java/com/oltpbenchmark/benchmarks/seats/util/FlightId.java:154
↓ 11 callers
Method
getState
()
src/main/java/com/oltpbenchmark/Results.java:65
↓ 11 callers
Method
newInstance
(String class_name, Object[] params, Class<?>[] classes)
src/main/java/com/oltpbenchmark/util/ClassUtil.java:110
↓ 10 callers
Method
bold
Wrap the given string with the control characters to make the text appear bold in the console
src/main/java/com/oltpbenchmark/util/StringUtil.java:395
↓ 10 callers
Method
compare
(Procedure o1, Procedure o2)
src/main/java/com/oltpbenchmark/api/StatementDialects.java:197
↓ 10 callers
Method
getColumnByName
(String colname)
src/main/java/com/oltpbenchmark/catalog/Table.java:66
↓ 10 callers
Method
getCurrentPhase
()
src/main/java/com/oltpbenchmark/WorkloadState.java:173
↓ 10 callers
Method
getTimestampParameterArray
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkWorker.java:455
↓ 10 callers
Method
getXmlConfig
()
src/main/java/com/oltpbenchmark/WorkloadConfiguration.java:339
↓ 10 callers
Method
iterable
Wrap an Iterable around an Iterator @param <T> @param it @return
src/main/java/com/oltpbenchmark/util/CollectionUtil.java:164
↓ 10 callers
Method
next
()
src/main/java/com/oltpbenchmark/util/TableDataIterable.java:111
↓ 10 callers
Method
randomChars
Generate a random block of text as a char array @param rng @param strLen @return
src/main/java/com/oltpbenchmark/util/TextGenerator.java:60
↓ 10 callers
Method
run
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkWorker.java:61
↓ 9 callers
Method
encode
()
src/test/java/com/oltpbenchmark/util/TestCompositeIdRange.java:42
↓ 9 callers
Method
equals
(Object o)
src/main/java/com/oltpbenchmark/benchmarks/seats/util/FlightId.java:161
↓ 9 callers
Method
formatMaps
Return key/value maps into a nicely formatted table Delimiter ":", No UpperCase Keys, No Boxing @param maps @return
src/main/java/com/oltpbenchmark/util/StringUtil.java:80
↓ 9 callers
Method
getBenchmark
Get the BenchmarkModule managing this Worker
src/main/java/com/oltpbenchmark/api/Worker.java:103
↓ 9 callers
Method
getCurrentTimeString14
TODO(djellel) @return
src/main/java/com/oltpbenchmark/util/TimeUtil.java:33
↓ 9 callers
Method
getGlobalState
Delegates a global state query to the benchmark state handler @return global state
src/main/java/com/oltpbenchmark/WorkloadState.java:235
↓ 9 callers
Method
getInsertStatement
(Connection conn, String tableName)
src/main/java/com/oltpbenchmark/benchmarks/tpcc/TPCCLoader.java:143
↓ 9 callers
Method
getItemCount
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/UserId.java:77
↓ 9 callers
Method
getLoaderStartTime
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkProfile.java:505
↓ 9 callers
Method
getNumBids
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/ItemInfo.java:73
↓ 9 callers
Method
getValue
()
src/main/java/com/oltpbenchmark/benchmarks/templated/util/TemplatedValue.java:185
↓ 9 callers
Method
joinPath
Join path components @param args @return
src/main/java/com/oltpbenchmark/util/FileUtil.java:39
↓ 9 callers
Method
nextInt
Generate the next item. this distribution will be skewed toward lower integers; e.g. 0 will be the most popular, 1 the next most popular, etc. @param
src/main/java/com/oltpbenchmark/distributions/ZipfianGenerator.java:228
↓ 9 callers
Method
randomValue
(RowRandomInt random)
src/main/java/com/oltpbenchmark/benchmarks/tpch/util/TextPoolGenerator.java:190
↓ 9 callers
Method
set
Set the number of occurrences of this particular value i @param value the value to be added to the histogram
src/main/java/com/oltpbenchmark/util/Histogram.java:369
↓ 8 callers
Method
calculateInternalValues
Recalculate the min/max count value sets Since this is expensive, this should only be done whenever that information is needed
src/main/java/com/oltpbenchmark/util/Histogram.java:164
↓ 8 callers
Method
equals
(Object o)
src/main/java/com/oltpbenchmark/api/TransactionType.java:73
↓ 8 callers
Method
genTable
( Connection conn, PreparedStatement prepStmt, List<Iterable<List<Object>>> generators,
src/main/java/com/oltpbenchmark/benchmarks/tpch/TPCHLoader.java:363
↓ 8 callers
Method
getConnection
()
src/main/java/com/oltpbenchmark/jdbc/AutoIncrementPreparedStatement.java:186
↓ 8 callers
Method
getDefaultDistributions
()
src/main/java/com/oltpbenchmark/benchmarks/tpch/util/Distributions.java:41
↓ 8 callers
Method
getDefaultTestPool
()
src/main/java/com/oltpbenchmark/benchmarks/tpch/util/TextPool.java:32
↓ 8 callers
Method
getEscapedName
()
src/main/java/com/oltpbenchmark/catalog/AbstractCatalogObject.java:47
↓ 8 callers
Method
getInsertStatement
(Connection conn, String tableName)
src/main/java/com/oltpbenchmark/benchmarks/tpch/TPCHLoader.java:144
↓ 8 callers
Method
getLoaderThreads
The number of loader threads that the framework is allowed to use. @return
src/main/java/com/oltpbenchmark/WorkloadConfiguration.java:222
↓ 8 callers
Method
getMaxCountValues
Return the set values with the greatest number of samples @return
src/main/java/com/oltpbenchmark/util/Histogram.java:294
↓ 8 callers
Method
getProcTimestamp
@param benchmarkTimes @return
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/AuctionMarkUtil.java:48
↓ 8 callers
Method
getStatements
Hook for testing @return
src/main/java/com/oltpbenchmark/api/Procedure.java:182
↓ 8 callers
Method
isLatencyRun
()
src/main/java/com/oltpbenchmark/Phase.java:93
↓ 8 callers
Method
processItemRecord
For the given VoltTable that contains ITEM records, process the current row of that table and update the benchmark profile based on item information s
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkWorker.java:422
↓ 8 callers
Method
putHistogram
Add all the entries from the provided Histogram into this objects totals @param other
src/main/java/com/oltpbenchmark/util/Histogram.java:417
↓ 8 callers
Method
randomValue
(RowRandomInt randomInt)
src/main/java/com/oltpbenchmark/benchmarks/tpch/util/Distribution.java:92
↓ 8 callers
Method
setShort
(int parameterIndex, short x)
src/main/java/com/oltpbenchmark/jdbc/AutoIncrementPreparedStatement.java:281
↓ 8 callers
Method
setTime
(int parameterIndex, Time x)
src/main/java/com/oltpbenchmark/jdbc/AutoIncrementPreparedStatement.java:326
↓ 7 callers
Method
exists
(String path)
src/main/java/com/oltpbenchmark/util/FileUtil.java:83
↓ 7 callers
Method
getCodeXref
(String col_name)
src/main/java/com/oltpbenchmark/benchmarks/seats/SEATSProfile.java:384
↓ 7 callers
Method
getColumn
(int index)
src/main/java/com/oltpbenchmark/catalog/Table.java:54
↓ 7 callers
Method
getCount
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/GlobalAttributeGroupId.java:78
↓ 7 callers
Method
getDepartAirportId
@return the depart_airport_id
src/main/java/com/oltpbenchmark/benchmarks/seats/util/FlightId.java:124
↓ 7 callers
Method
getDepartDateAsTimestamp
@return the flight departure date
src/main/java/com/oltpbenchmark/benchmarks/seats/util/FlightId.java:142
↓ 7 callers
Method
getInitialPrice
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/LoaderItemInfo.java:102
↓ 7 callers
Method
getInterfaces
Get a set of all of the interfaces that the element_class implements @param element_class @return
src/main/java/com/oltpbenchmark/util/ClassUtil.java:97
↓ 7 callers
Method
getMetaData
()
src/main/java/com/oltpbenchmark/jdbc/AutoIncrementPreparedStatement.java:403
↓ 7 callers
Method
getProcedureName
Return the name of this Procedure
src/main/java/com/oltpbenchmark/api/Procedure.java:74
↓ 7 callers
Method
getProcedures
Return a mapping from TransactionTypes to Procedure invocations @return
src/main/java/com/oltpbenchmark/api/BenchmarkModule.java:402
↓ 7 callers
Method
getRandomItem
@param itemSet @param needCurrentPrice @param needFutureEndDate TODO @return
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkProfile.java:835
↓ 7 callers
Method
getSellerId
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/ItemInfo.java:41
↓ 7 callers
Method
getStartDate
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/LoaderItemInfo.java:86
↓ 7 callers
Method
getSubscriberId
(long subscriberSize)
src/main/java/com/oltpbenchmark/benchmarks/tatp/TATPUtil.java:30
↓ 7 callers
Method
getTransTypes
()
src/main/java/com/oltpbenchmark/WorkloadConfiguration.java:327
↓ 7 callers
Method
getType
()
src/main/java/com/oltpbenchmark/catalog/Index.java:73
↓ 7 callers
Method
getUrl
()
src/main/java/com/oltpbenchmark/WorkloadConfiguration.java:86
↓ 7 callers
Method
makeWorkers
()
src/main/java/com/oltpbenchmark/api/BenchmarkModule.java:207
↓ 7 callers
Method
pop
(Collection<T> items)
src/main/java/com/oltpbenchmark/util/CollectionUtil.java:173
↓ 7 callers
Method
run
(Connection conn, long s_id, byte ai_type)
src/main/java/com/oltpbenchmark/benchmarks/tatp/procedures/GetAccessData.java:36
↓ 7 callers
Method
run
(Connection conn)
src/main/java/com/oltpbenchmark/benchmarks/seats/procedures/LoadConfig.java:63
↓ 7 callers
Method
shouldEscapeNames
@return True if the framework should escape the names of columns/tables when generating SQL to load in data for the target database type.
src/main/java/com/oltpbenchmark/types/DatabaseType.java:98
↓ 6 callers
Method
_put
The main method that updates a value in the histogram with a given sample count This should be called by one of the public interface methods that are
src/main/java/com/oltpbenchmark/util/Histogram.java:139
↓ 6 callers
Method
calculateRowCount
(int scaleBase, double scaleFactor, int part, int partCount)
src/main/java/com/oltpbenchmark/benchmarks/tpch/util/GenerateUtils.java:31
↓ 6 callers
Method
calculateStartIndex
( int scaleBase, double scaleFactor, int part, int partCount)
src/main/java/com/oltpbenchmark/benchmarks/tpch/util/GenerateUtils.java:41
↓ 6 callers
Method
cleanupServer
()
src/test/java/com/oltpbenchmark/api/AbstractTestCase.java:255
↓ 6 callers
Method
first
Return the first item in a Iterable @param <T> @param items @return
src/main/java/com/oltpbenchmark/util/CollectionUtil.java:95
↓ 6 callers
Method
generateCustIds
(boolean needsTwoAccts)
src/main/java/com/oltpbenchmark/benchmarks/smallbank/SmallBankWorker.java:76
↓ 6 callers
Method
getAirportCode
(long airport_id)
src/main/java/com/oltpbenchmark/benchmarks/seats/SEATSProfile.java:622
↓ 6 callers
Method
getBytes
()
src/main/java/com/oltpbenchmark/benchmarks/tpch/util/TextPool.java:200
↓ 6 callers
Method
getCurrentPrice
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/ItemInfo.java:49
↓ 6 callers
Method
getCustomerIdCount
(Long airport_id)
src/main/java/com/oltpbenchmark/benchmarks/seats/SEATSProfile.java:595
↓ 6 callers
Method
getId
()
src/main/java/com/oltpbenchmark/Phase.java:113
↓ 6 callers
Method
getId
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/LoaderItemInfo.java:174
↓ 6 callers
Method
getPropertyValues
Mapping of observed properties to their corresponding values.
src/main/java/com/oltpbenchmark/api/collectors/monitoring/DatabaseMonitor.java:216
↓ 6 callers
Method
getSessionSetupFile
()
src/main/java/com/oltpbenchmark/WorkloadConfiguration.java:126
↓ 6 callers
Method
getSize
()
src/main/java/com/oltpbenchmark/catalog/Column.java:54
↓ 6 callers
Method
getTableName
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/AuctionMarkLoader.java:502
↓ 6 callers
Method
hasNext
()
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/UserIdGenerator.java:182
↓ 6 callers
Method
isBooleanOptionSet
Returns true if the given key is in the CommandLine object and is set to true. @param argsLine @param key @return
src/main/java/com/oltpbenchmark/DBWorkload.java:814
↓ 6 callers
Method
refreshCatalog
()
src/main/java/com/oltpbenchmark/api/BenchmarkModule.java:211
↓ 6 callers
Method
run
(Connection conn, int keyname, String[] results)
src/main/java/com/oltpbenchmark/benchmarks/ycsb/procedures/ReadRecord.java:34
↓ 6 callers
Method
run
(Connection conn, String custName)
src/main/java/com/oltpbenchmark/benchmarks/smallbank/procedures/Balance.java:47
↓ 6 callers
Method
setCurrentItemCount
(int size)
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/UserIdGenerator.java:86
↓ 6 callers
Method
setDatabaseType
(DatabaseType databaseType)
src/main/java/com/oltpbenchmark/WorkloadConfiguration.java:82
↓ 6 callers
Method
setIdentityInsert
Mark the given table which has an identity column to be able to be inserted into with explicit values. @param conn @param dbType @param catalog_tbl @
src/main/java/com/oltpbenchmark/util/SQLUtil.java:258
↓ 6 callers
Method
setKeepZeroEntries
Set whether this histogram is allowed to retain zero count entries If the flag switches from true to false, then all zero count entries will be remove
src/main/java/com/oltpbenchmark/util/Histogram.java:105
↓ 5 callers
Method
checkClient
Returns true if the given UserId should be processed by the given client id @param user_id @return
src/main/java/com/oltpbenchmark/benchmarks/auctionmark/util/UserIdGenerator.java:130
↓ 5 callers
Method
contains
(Object o)
src/main/java/com/oltpbenchmark/api/TransactionTypes.java:71
↓ 5 callers
Method
createRuntimeException
()
src/main/java/com/oltpbenchmark/benchmarks/templated/util/TemplatedValue.java:270
↓ 5 callers
Method
deg2rad
(double deg)
src/main/java/com/oltpbenchmark/benchmarks/seats/util/DistanceUtil.java:55
← previous
next →
101–200 of 2,267, ranked by callers