MCPcopy Create free account

hub / github.com/airbnb/SpinalTap / functions

Functions687 in github.com/airbnb/SpinalTap

↓ 203 callersMethodget
Retrieves the current object value.
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/util/Repository.java:39
↓ 54 callersMethodgetValue
(final String columnName)
spinaltap-model/src/main/java/com/airbnb/spinaltap/mysql/mutation/schema/Row.java:16
↓ 46 callersMethodmap
Maps an object to another. @param object the object to map. @return the resulting mapped object.
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/util/Mapper.java:21
↓ 38 callersMethodput
(MysqlTableSchema schema)
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/schema/MysqlSchemaStore.java:122
↓ 37 callersMethodadd
Adds a new {@link SourceState} entry to the history.
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/StateHistory.java:68
↓ 34 callersMethodisStarted
Whether the source is started and processing events.
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/source/Source.java:26
↓ 31 callersMethodinc
Increment the counter by one.
spinaltap-common/src/main/java/com/airbnb/common/metrics/Counter.java:10
↓ 31 callersMethodset
Sets the current object value. @param value the object value.
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/util/Repository.java:28
↓ 30 callersMethodgetMetadata
()
spinaltap-model/src/main/java/com/airbnb/spinaltap/mysql/mutation/MysqlMutation.java:26
↓ 29 callersMethodopen
Initializes the source and prepares for event processing. <p>The operation should be idempotent.
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/source/Source.java:33
↓ 28 callersMethodaddSourcePrefix
(@NotNull final String sql)
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/schema/MysqlSchemaDatabase.java:161
↓ 25 callersMethodgetName
The name of the source
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/source/Source.java:17
↓ 25 callersMethodtoString
()
spinaltap-model/src/main/java/com/airbnb/spinaltap/mysql/GtidSet.java:79
↓ 24 callersMethodsize
@return the current size of the state history.
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/StateHistory.java:118
↓ 23 callersMethodisEmpty
@return {@code True} if the history is empty, else {@code False}.
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/StateHistory.java:113
↓ 22 callersMethodapply
Applies the filter on the object @param object the object to filter @return {@code true} if the filter condition passes, {@code false} otherwise
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/util/Filter.java:20
↓ 18 callersMethodgetLastPublishedMutation
@return the last {@link Mutation} that has been successfully published.
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/destination/Destination.java:17
↓ 17 callersMethodexecute
()
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/destination/BufferedDestination.java:118
↓ 17 callersMethodsend
(Mutation<?> mutation)
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/destination/Destination.java:19
↓ 15 callersMethodclose
Stops event processing and closes the source. <p>The operation should be idempotent.
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/source/Source.java:40
↓ 15 callersMethodgetTableColumns
(@NonNull String database, @NonNull String table)
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/schema/MysqlSchemaReader.java:58
↓ 14 callersMethodbuild
()
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/util/ChainedFilter.java:46
↓ 14 callersMethodincError
(String metricName, Throwable error)
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/metrics/SpinalTapMetrics.java:78
↓ 13 callersMethodaddListener
Adds a {@link Listener} to the source.
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/source/Source.java:20
↓ 13 callersMethodaddMapper
(Class<S> klass, Mapper<S, ? extends R> mapper)
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/util/ClassBasedMapper.java:37
↓ 13 callersMethodbuild
()
spinaltap-model/src/main/java/com/airbnb/spinaltap/mysql/BinlogFilePos.java:165
↓ 12 callersMethodclear
Clears the state of the source. <p>The operation should be idempotent.
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/source/Source.java:47
↓ 12 callersMethodcreateColumn
( String name, ColumnDataType dataType, boolean isPk, Serializable value, int position)
spinaltap-mysql/src/test/java/com/airbnb/spinaltap/mysql/validator/MutationSchemaValidatorTest.java:106
↓ 12 callersMethodgetOffset
()
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/event/BinlogEvent.java:28
↓ 12 callersMethodgetServerUUID
()
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/MysqlClient.java:94
↓ 12 callersMethodremoveLast
Removes the most recently added {@link SourceState} entry from the history.
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/StateHistory.java:78
↓ 12 callersMethodsize
Returns the number of entities in the event
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/source/SourceEvent.java:21
↓ 11 callersMethodgetRow
()
spinaltap-model/src/main/java/com/airbnb/spinaltap/mysql/mutation/MysqlMutation.java:19
↓ 10 callersMethodgetColumnsForAllTables
(@NonNull String database)
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/schema/MysqlSchemaDatabase.java:127
↓ 10 callersMethodread
@return the {@link SourceState} record present in the repository.
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/StateRepository.java:45
↓ 9 callersMethodaddOrUpdate
Adds or replaces (if already exists) a {@link Table} entry in the cache for the given table id. @param tableId The table id @param tableName The tabl
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/TableCache.java:56
↓ 9 callersMethodcheckpoint
Commits the source checkpoint on the specified {@link Mutation}. On source start, streaming will begin from the last marked checkpoint.
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/source/Source.java:53
↓ 9 callersMethodcontains
@return {@code True} if a cache entry exists for the given table id, otherwise {@code False}.
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/TableCache.java:44
↓ 9 callersMethodgetEntity
()
spinaltap-mysql/src/test/java/com/airbnb/spinaltap/mysql/ColumnSerializationUtilTest.java:62
↓ 9 callersMethodgetTags
(SourceEvent event)
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/metrics/SpinalTapMetrics.java:121
↓ 9 callersMethodisEmpty
()
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/pipe/PipeManager.java:95
↓ 9 callersMethodremove
Delete the current object
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/util/Repository.java:42
↓ 9 callersMethodvalidateMetadata
(Mutation mutation, int rowPosition)
spinaltap-mysql/src/test/java/com/airbnb/spinaltap/mysql/event/mapper/MysqlMutationMapperTest.java:418
↓ 8 callersMethodapplyDDL
(@NonNull final String sql, final String database)
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/schema/MysqlSchemaDatabase.java:38
↓ 8 callersMethodfromString
(@NonNull final String position)
spinaltap-model/src/main/java/com/airbnb/spinaltap/mysql/BinlogFilePos.java:69
↓ 8 callersMethodgetHost
()
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/config/AbstractMysqlConfiguration.java:27
↓ 8 callersMethodgetRowIdsToDelete
(BinlogFilePos earliestPos)
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/schema/MysqlSchemaStore.java:256
↓ 8 callersMethodloadSchemaCacheUntil
(BinlogFilePos pos)
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/schema/MysqlSchemaStore.java:87
↓ 8 callersMethodtaggedName
Build the tagged metric for Datadog from a map for tags in a key:value format. <p>We could validate that the name and tags don't contain [, ] or , be
spinaltap-common/src/main/java/com/airbnb/common/metrics/TaggedMetricRegistry.java:82
↓ 8 callersMethodupdate
Updates the current object value given a {@link DataUpdater}. @param value the object value. @param updater the updater .
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/util/Repository.java:36
↓ 8 callersMethodvalidate
(@NonNull final BinlogEvent event)
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/validator/EventOrderValidator.java:27
↓ 8 callersMethodvalidate
Validates a {@link Mutation} is received in order, otherwise triggers the specified handler.
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/validator/MutationOrderValidator.java:33
↓ 7 callersMethodaddFilter
(Filter<T> filter)
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/util/ChainedFilter.java:41
↓ 7 callersMethodbuilder
()
spinaltap-model/src/main/java/com/airbnb/spinaltap/mysql/BinlogFilePos.java:127
↓ 7 callersMethodcompareTo
(@NonNull final BinlogFilePos other)
spinaltap-model/src/main/java/com/airbnb/spinaltap/mysql/BinlogFilePos.java:99
↓ 7 callersMethodgetPort
()
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/config/AbstractMysqlConfiguration.java:29
↓ 7 callersMethodgetPrimaryKeyValue
()
spinaltap-model/src/main/java/com/airbnb/spinaltap/mysql/mutation/schema/Row.java:21
↓ 7 callersMethodprocessDDL
(QueryEvent event, String gtid)
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/schema/MysqlSchemaManager.java:49
↓ 7 callersMethodremoveListener
Removes a {@link Listener} from the source.
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/source/Source.java:23
↓ 7 callersMethodresetToLastValidState
Resets to the last valid {@link MysqlSourceState} recorded in the {@link StateHistory}.
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/MysqlSource.java:145
↓ 7 callersMethodsize
()
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/event/WriteEvent.java:27
↓ 6 callersMethodbuilder
()
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/util/ChainedFilter.java:23
↓ 6 callersMethodcreate
Creates a new object. @param value the object value.
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/util/Repository.java:21
↓ 6 callersMethodcreateMutation
(MutationType type)
spinaltap-kafka/src/test/java/com/airbnb/spinaltap/kafka/KafkaDestinationTest.java:171
↓ 6 callersMethodexists
@return whether an object exists
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/util/Repository.java:14
↓ 6 callersMethodget
@return the {@link Table} cache entry for the given table id if present, otherwise {@code null}
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/TableCache.java:37
↓ 6 callersMethodgetFileNumber
()
spinaltap-model/src/main/java/com/airbnb/spinaltap/mysql/BinlogFilePos.java:82
↓ 6 callersMethodgetName
@return The name of the pipe.
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/pipe/Pipe.java:50
↓ 6 callersMethodnotifyError
(Throwable error)
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/source/ListenableSource.java:40
↓ 6 callersMethodsave
Saves or updates the {@link SourceState} record in the repository
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/StateRepository.java:22
↓ 6 callersMethodstop
()
spinaltap-common/src/test/java/com/airbnb/spinaltap/common/source/AbstractSourceTest.java:169
↓ 6 callersMethodvalidate
Validates the object. @param object the object
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/util/Validator.java:18
↓ 5 callersMethodclear
Clears the state of the destination. <p>The operation should be idempotent.
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/destination/Destination.java:59
↓ 5 callersMethodgetKey
Use the primary key as the key of the ProducerRecord.
spinaltap-kafka/src/main/java/com/airbnb/spinaltap/kafka/KafkaDestination.java:104
↓ 5 callersMethodgetSchemaDatabaseName
(@NonNull final String source, final String database)
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/schema/MysqlSchemaDatabase.java:175
↓ 5 callersMethodisContainedWithin
(GtidSet other)
spinaltap-model/src/main/java/com/airbnb/spinaltap/mysql/GtidSet.java:62
↓ 5 callersMethodlistDatabases
()
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/schema/MysqlSchemaDatabase.java:59
↓ 5 callersMethodnotifyStart
()
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/source/ListenableSource.java:44
↓ 5 callersMethodonError
(Throwable error)
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/pipe/Pipe.java:213
↓ 5 callersMethodonMutation
(List<? extends Mutation<?>> mutations)
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/pipe/Pipe.java:209
↓ 5 callersMethodprocessEvent
Processes an event produced by the {@link Source} and notifies {@link Source.Listener} subscribers of the corresponding {@link Mutation}s.
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/source/AbstractSource.java:123
↓ 5 callersMethodserializeColumn
(@NonNull final Column oldColumn)
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/ColumnSerializationUtil.java:21
↓ 5 callersMethodstart
()
spinaltap-common/src/test/java/com/airbnb/spinaltap/common/source/AbstractSourceTest.java:159
↓ 4 callersMethodbuilder
()
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/util/ClassBasedMapper.java:20
↓ 4 callersMethodcanonicalNameOf
(String db, String tableName)
spinaltap-model/src/main/java/com/airbnb/spinaltap/mysql/mutation/schema/Table.java:109
↓ 4 callersMethodcreateMutation
(Row row)
spinaltap-mysql/src/test/java/com/airbnb/spinaltap/mysql/validator/MutationSchemaValidatorTest.java:102
↓ 4 callersMethodcreateRetryer
()
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/schema/MysqlSchemaUtil.java:44
↓ 4 callersMethodescapeBackQuote
(@NonNull final String name)
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/schema/MysqlSchemaUtil.java:52
↓ 4 callersMethodgetAllSchemas
()
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/schema/MysqlSchemaStore.java:97
↓ 4 callersMethodgetGlobalVariableValue
(String variableName)
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/MysqlClient.java:107
↓ 4 callersMethodgetOverridingDatabase
()
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/config/AbstractMysqlConfiguration.java:33
↓ 4 callersMethodgetPoolSize
()
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/destination/DestinationPool.java:55
↓ 4 callersMethodgetTableTags
(final String database, final String table)
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/MysqlSourceMetrics.java:162
↓ 4 callersMethodgetUpdatedColumns
( final Map<String, ?> previousValues, final Map<String, ?> currentValues)
spinaltap-model/src/main/java/com/airbnb/spinaltap/Mutation.java:68
↓ 4 callersMethodisStarted
()
spinaltap-common/src/test/java/com/airbnb/spinaltap/common/destination/DestinationPoolTest.java:155
↓ 4 callersMethodremoveCommentsFromDDL
(final String ddl)
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/schema/MysqlSchemaUtil.java:57
↓ 4 callersMethodsaveState
(@NonNull final MysqlSourceState state)
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/MysqlSource.java:220
↓ 4 callersMethodtransformToEntity
(@NonNull final Row row)
spinaltap-mysql/src/main/java/com/airbnb/spinaltap/mysql/mutation/mapper/ThriftMutationMapper.java:77
↓ 4 callersMethodupdate
Adds a recorded value. @param value the length of the value
spinaltap-common/src/main/java/com/airbnb/common/metrics/Histogram.java:14
↓ 4 callersMethodwithMapper
(@NonNull final Mapper<Mutation<?>, T> mapper)
spinaltap-common/src/main/java/com/airbnb/spinaltap/common/destination/DestinationBuilder.java:40
next →1–100 of 687, ranked by callers