Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoogleCloudPlatform/healthcare-data-harmonization
/ functions
Functions
4,895 in github.com/GoogleCloudPlatform/healthcare-data-harmonization
⨍
Functions
4,895
◇
Types & classes
803
↳
Endpoints
17
↓ 1,410 callers
Method
testDTI
Utility method to be staticly imported.
testutil/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/impl/TestDataTypeImplementation.java:71
↓ 1,164 callers
Method
primitiveOf
Returns a Primitive representation of the given number.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/DataTypeImplementation.java:57
↓ 1,067 callers
Method
build
build the stack frame with the properties set on the builder.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/function/context/StackFrame.java:113
↓ 964 callers
Method
newBuilder
Returns a new {@link StackFrame.Builder} capable of building this implementation of {@link StackFrame}.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/function/context/StackFrame.java:68
↓ 868 callers
Method
assertEquals
Throws an exception describing the difference between the two given data, if there is any. If they are the same returns null. <p>An example diff betw
plugins/test/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/plugins/test/functions/AssertFns.java:91
↓ 740 callers
Method
of
(String a, String b)
runtime/src/test/java/com/google/cloud/verticals/foundations/dataharmonization/diagnostics/export/CSVWriterTest.java:126
↓ 504 callers
Method
mock
( RuntimeContext context, String originalRefStr, String mockRefStr, String selectorRefStr)
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/mocking/plugin/MockingFns.java:36
↓ 459 callers
Method
get
Retrieve the instance of the Registrant with the given name, or null if none is registered.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/registry/Registry.java:31
↓ 301 callers
Method
arrayOf
Returns an Array implementation filled with the given items.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/DataTypeImplementation.java:30
↓ 301 callers
Method
format
(Collection<PackageDoc> docs)
tools/docgen/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/doclet/formatting/Printer.java:25
↓ 281 callers
Method
stream
Returns a sequential {@link Stream} of the elements in this array.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/Array.java:88
↓ 273 callers
Method
put
(RuntimeContext context)
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/function/context/storage/ContextStorage.java:25
↓ 270 callers
Method
setName
Set the name of the stack frame to be built. See {@link StackFrame#getName()}
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/function/context/StackFrame.java:101
↓ 224 callers
Method
containerOf
Returns a Container implementation filled with the given items.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/DataTypeImplementation.java:36
↓ 220 callers
Method
any
Creates a signature that just matches any arguments given (including none). Looks like Fn(Data... args).
transpiler/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/Signature.java:73
↓ 210 callers
Method
add
Adds all vararg Data elements.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/ArrayBuilder.java:67
↓ 208 callers
Method
size
@return the number of elements in this Array.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/Array.java:70
↓ 203 callers
Method
map
Maps this dataset into a new dataset by passing each element through the given function. @param context Current {@link RuntimeContext} for executing
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/Dataset.java:36
↓ 200 callers
Method
getField
Gets the value of the given field, or {@link NullData} if it does not exist. @param field the field to get. If field is null should return this insta
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/Container.java:30
↓ 198 callers
Method
assertTrue
Throws an exception if the given value is not true. Returns null otherwise.
plugins/test/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/plugins/test/functions/AssertFns.java:55
↓ 184 callers
Method
asContainer
Returns a {@link Container} instance if this Data is a {@link Container}, or null otherwise. {@see #isContainer}.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/Data.java:62
↓ 162 callers
Method
asArray
Returns a {@link Array} instance if this Data is a {@link Array}, or null otherwise. {@see #isArray}.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/Data.java:75
↓ 159 callers
Method
getDataTypeImplementation
Returns the current data type implementation for this context.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/function/context/RuntimeContext.java:137
↓ 149 callers
Method
getWhistleText
(String testFile)
tools/linter/src/test/java/com/google/cloud/verticals/foundations/dataharmonization/tools/linter/TestResourceUtils.java:38
↓ 148 callers
Method
isEmpty
Returns true iff this path is an empty path.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/path/Path.java:302
↓ 144 callers
Method
getName
Returns a descriptive name for the closure. This can be the function name or an internal name.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/function/Closure.java:64
↓ 134 callers
Method
asPrimitive
Returns a {@link Primitive} instance if this Data is a {@link Primitive}, or null otherwise. {@see #isPrimitive}.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/Data.java:49
↓ 128 callers
Method
getElement
Gets the value of the given field, or {@link NullData} if it does not exist. @param index the index to get.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/Array.java:31
↓ 128 callers
Method
setField
Sets (overwrites if existing) the value of the given field. Returns the modified container. This may or may not operate in-place (implementation depen
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/Container.java:40
↓ 111 callers
Method
assertDCAPEquals
Asserts that two {@link Data}s are <i>semantically equal</i>. This will recursively check array elements and container fields, but will not care about
testutil/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/utils/AssertUtil.java:37
↓ 110 callers
Method
set
Sets the value of this segment on the given data to the given value, returning the modified data. This may or may not modify the data in-place, depend
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/path/PathSegment.java:101
↓ 104 callers
Method
getPath
Extract the file path from the resource {@link URI}. @param uri {@link URI} the resource URI. @return {@link Path} the file path within the given fil
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/imports/URIParser.java:45
↓ 101 callers
Method
isNullOrEmpty
Returns true if this Data value is null or empty.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/Data.java:29
↓ 98 callers
Method
string
Returns the string value of this primitive or null if it is not a string.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/Primitive.java:29
↓ 90 callers
Method
num
Returns the numeric value of this primitive or null if it is not numeric.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/Primitive.java:26
↓ 83 callers
Method
parse
Parses the given string into a Path instance. Acceptable formatting for a path segment is: <ul> <li>Any character that isn't a . (dot), [ (open squ
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/path/Path.java:74
↓ 81 callers
Method
getMetaData
Returns the {@link MetaData}
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/function/context/RuntimeContext.java:110
↓ 80 callers
Method
execute
Executes this closure and returns the result. Closure must have no free parameters. @param context RuntimeContext to execute with. @return The functi
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/function/Closure.java:47
↓ 79 callers
Method
toCodeString
Print the tree as code.
tools/linter/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/tools/linter/ast/AntlrToTree.java:179
↓ 78 callers
Function
makeAny
makeAny marshals the given SourcePosition into an Any and returns it.
wstl1/mapping_language/transpiler/test_helper.go:87
↓ 77 callers
Method
addMapping
addMapping adds the given mapping to the environment and subsequently the projector definition registered by it.
wstl1/mapping_language/transpiler/env.go:173
↓ 77 callers
Method
emptyArray
Returns an empty Array implementation.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/DataTypeImplementation.java:27
↓ 74 callers
Method
builder
Static factory method that creates a new ChoiceFieldGroup.Builder.
plugins/reconciliation/reconcommon/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/plugins/reconciliation/merge/ChoiceFieldGroup.java:27
↓ 74 callers
Function
mustParseJSON
(t *testing.T, message json.RawMessage)
wstl1/mapping_engine/util/jsonutil/jsonutil_test.go:25
↓ 72 callers
Method
lint
Applies only active linting rules to the given whistle code. @param whistle {@link String} the Whistle text to be formatted @param parserRule {@link
tools/linter/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/tools/linter/Linter.java:126
↓ 70 callers
Method
equals
(Object o)
tools/languageserver/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/lsp/EngineUtil.java:560
↓ 69 callers
Method
toString
()
tools/docgen/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/reflection/ReflectedInstance.java:203
↓ 69 callers
Method
write
Writes the given data to the given outputStream in this writer's innate format.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/diagnostics/export/Writer.java:22
↓ 68 callers
Method
asInternal
()
tools/linter/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/tools/linter/ast/BaseTreeNode.java:46
↓ 68 callers
Method
transform
Transforms the input data with the type of {@code InT} using the initialized config and returns the result in type {@code OutT}. This methods serves a
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/init/Engine.java:109
↓ 66 callers
Method
log
(String text)
tools/docgen/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/doclet/formatting/Markdown.java:236
↓ 66 callers
Method
withGroup
(String... groupFields)
plugins/reconciliation/reconcommon/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/plugins/reconciliation/merge/ChoiceFieldGroup.java:58
↓ 65 callers
Method
getMeta
Retrieve a metadata object from this context (and the ones it was derived from). Be aware that metadata is transient. @param name The name of the obj
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/function/context/MetaData.java:32
↓ 64 callers
Method
filter
Creates a {@link Data} filter for filtering containers in an array. @param fieldName String naming the container field to filter @param fieldValue {@
plugins/reconciliation/reconv2/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/plugins/reconciliation/MatchingPlugin.java:161
↓ 61 callers
Method
bool
Returns the boolean value of this primitive or null if it is not a boolean.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/Primitive.java:32
↓ 60 callers
Method
fields
Returns the set of fields that have been assigned in this Container.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/Container.java:53
↓ 60 callers
Method
getRegistries
Returns the {@link Registries} associated to this {@code RuntimeContext}.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/function/context/RuntimeContext.java:107
↓ 60 callers
Function
mustParseContainer
(json json.RawMessage, t *testing.T)
wstl1/mapping_engine/mapping_test/engine_test.go:32
↓ 58 callers
Method
getMessage
()
transpiler/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/error/TranspilationIssue.java:51
↓ 57 callers
Method
initializeTestFile
(String name)
testutil/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/integration/IntegrationTest.java:41
↓ 57 callers
Method
isArray
Returns true if this Data is an {@link Array}.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/Data.java:67
↓ 57 callers
Method
isPrimitive
Returns true if this Data is a {@link Primitive}.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/Data.java:41
↓ 57 callers
Method
setFieldType
(String fieldType)
plugins/reconciliation/reconcommon/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/plugins/reconciliation/stableid/match/MatchingCriteria.java:248
↓ 55 callers
Method
empty
Creates an empty path. get(R) returns R, and set(R, x) returns x without modifying R.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/path/Path.java:208
↓ 54 callers
Method
getChildren
()
tools/linter/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/tools/linter/ast/InternalNode.java:36
↓ 54 callers
Method
of
Initialize an ImportPath directly from the given parameters. @param loader The {@link Loader} to use when loading the file. @param file The absolute
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/imports/ImportPath.java:57
↓ 53 callers
Method
addAll
Adds all {@link Data} elements from an Iterable.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/ArrayBuilder.java:107
↓ 53 callers
Function
mustParseArray
(json json.RawMessage, t *testing.T)
wstl1/mapping_engine/builtins/builtins_test.go:184
↓ 52 callers
Method
eq
Returns {@code Primitive} {@code boolean} with the value {@code true} if all arguments are equal. <pre><code> // Returns true eq(10, 10) // Returns
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/builtins/Operators.java:136
↓ 50 callers
Method
create
(String code, String display, String system, String version)
plugins/harmonization/common/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/plugins/harmonization/harmonizer/HarmonizedCode.java:25
↓ 50 callers
Method
of
(Collection<PathSegment> segments)
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/path/Path.java:212
↓ 48 callers
Method
setMeta
Set a metadata object on this, all derived contexts, and all parent contexts (Meta is shared across all contexts in a lineage). Be aware that metadata
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/function/context/MetaData.java:42
↓ 47 callers
Method
Equal
(JSONToken)
wstl1/mapping_engine/util/jsonutil/jsonutil.go:568
↓ 47 callers
Method
initialize
Initialize an {@link Engine} from provided metadata, configs and plugins. This included registering all functions from plugins and configs, extracting
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/init/Engine.java:262
↓ 47 callers
Method
isContainer
Returns true if this Data is a {@link Container}.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/Data.java:54
↓ 47 callers
Method
setVar
Overwrites the value of the variable with the given name with the given value. If this stack frame {@link #inheritsParentVars()} it should first check
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/function/context/StackFrame.java:53
↓ 46 callers
Method
addChild
(MatchingCriteria other)
plugins/reconciliation/reconcommon/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/plugins/reconciliation/stableid/match/MatchingCriteria.java:263
↓ 46 callers
Method
arbitrary
()
testutil/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/mock/MockData.java:181
↓ 46 callers
Method
getLine
()
transpiler/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/error/TranspilationIssue.java:59
↓ 46 callers
Method
mutableContainerOf
(Consumer<ContainerInitializer> init)
testutil/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/mock/MockData.java:101
↓ 46 callers
Method
setType
(String value)
tools/docgen/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/doclet/model/ReturnDoc.java:32
↓ 46 callers
Method
symbolMeta
( int startLine, int startCol, int endLine, int endCol, String name, boole
transpiler/src/test/java/com/google/cloud/verticals/foundations/dataharmonization/TestHelper.java:101
↓ 45 callers
Method
children
()
plugins/reconciliation/reconcommon/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/plugins/reconciliation/stableid/match/MatchingCriteria.java:113
↓ 45 callers
Method
isClass
Returns true iff the current data can be used as data of Class clazz.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/Data.java:138
↓ 45 callers
Method
mergeMeta
(Meta... metas)
transpiler/src/test/java/com/google/cloud/verticals/foundations/dataharmonization/TestHelper.java:183
↓ 45 callers
Method
node
()
tools/linter/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/tools/linter/ast/IndexedDepthFirstIterator.java:194
↓ 45 callers
Method
remove
()
tools/linter/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/tools/linter/ast/IndexedDepthFirstIterator.java:73
↓ 45 callers
Method
setInheritParentVars
Set whether this stack frame shall inherit the parent stack frame's variables. See {@link StackFrame#inheritsParentVars()}, as well as {@link StackFra
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/function/context/StackFrame.java:108
↓ 44 callers
Method
emptyContainer
Returns an empty Container implementation.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/DataTypeImplementation.java:33
↓ 44 callers
Method
mockVarCapableRuntimeContext
Create a mock RuntimeContext that is capable of storing vars. @param varStorage the map to store vars in.
testutil/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/utils/RuntimeContextUtil.java:81
↓ 44 callers
Method
sourceMeta
( int startLine, int startCol, int endLine, int endCol, FunctionType type)
transpiler/src/test/java/com/google/cloud/verticals/foundations/dataharmonization/TestHelper.java:76
↓ 43 callers
Method
accept
Returns true if the text and target are similar under the specified criteria.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/registry/util/StringSimilarity.java:36
↓ 43 callers
Method
join
Performs a full outer join on the two given arrays. <p>Example: <pre><code> var array1: [{ id: 1 val: "1aaa" }, { id: 2 val: "1bbb" }] var a
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/builtins/ArrayFns.java:551
↓ 41 callers
Method
Diff
Create a new diff between data at the given path. A null reference indicates that the data was missing (field did not exist or array index was past th
plugins/test/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/plugins/test/functions/AssertFns.java:214
↓ 41 callers
Method
distance
Returns the distance between two types. A distance of 0 indicates that the two types are the same exact type. A distance of 1 indicates that {@code wa
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/function/DefaultOverloadSelector.java:59
↓ 41 callers
Method
setElement
Sets (overwrites if existing) the value of the given index. If the index is out of range, the array is extended to the required length and all missing
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/Array.java:43
↓ 40 callers
Method
getValue
()
tools/linter/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/tools/linter/ast/TerminalNode.java:34
↓ 39 callers
Method
create
Creates a new instance of the appropriate type (e.g. an {@link Array} or {@link Container}) that can be passed as the first parameter to this instance
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/path/PathSegment.java:109
↓ 38 callers
Method
text
(String text)
tools/docgen/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/doclet/formatting/MarkupFormat.java:108
↓ 37 callers
Method
apply
Applies the linting rule to a given node from the tree of Whistle code. @param node {@link BaseTreeNode} the node, located in tree, that is having a
tools/linter/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/tools/linter/rules/LinterRule.java:48
next →
1–100 of 4,895, ranked by callers