MCPcopy Create free account

hub / github.com/GoogleCloudPlatform/healthcare-data-harmonization / functions

Functions4,895 in github.com/GoogleCloudPlatform/healthcare-data-harmonization

↓ 1,410 callersMethodtestDTI
Utility method to be staticly imported.
testutil/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/impl/TestDataTypeImplementation.java:71
↓ 1,164 callersMethodprimitiveOf
Returns a Primitive representation of the given number.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/DataTypeImplementation.java:57
↓ 1,067 callersMethodbuild
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 callersMethodnewBuilder
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 callersMethodassertEquals
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 callersMethodof
(String a, String b)
runtime/src/test/java/com/google/cloud/verticals/foundations/dataharmonization/diagnostics/export/CSVWriterTest.java:126
↓ 504 callersMethodmock
( RuntimeContext context, String originalRefStr, String mockRefStr, String selectorRefStr)
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/mocking/plugin/MockingFns.java:36
↓ 459 callersMethodget
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 callersMethodarrayOf
Returns an Array implementation filled with the given items.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/DataTypeImplementation.java:30
↓ 301 callersMethodformat
(Collection<PackageDoc> docs)
tools/docgen/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/doclet/formatting/Printer.java:25
↓ 281 callersMethodstream
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 callersMethodput
(RuntimeContext context)
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/function/context/storage/ContextStorage.java:25
↓ 270 callersMethodsetName
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 callersMethodcontainerOf
Returns a Container implementation filled with the given items.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/DataTypeImplementation.java:36
↓ 220 callersMethodany
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 callersMethodadd
Adds all vararg Data elements.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/ArrayBuilder.java:67
↓ 208 callersMethodsize
@return the number of elements in this Array.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/Array.java:70
↓ 203 callersMethodmap
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 callersMethodgetField
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 callersMethodassertTrue
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 callersMethodasContainer
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 callersMethodasArray
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 callersMethodgetDataTypeImplementation
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 callersMethodgetWhistleText
(String testFile)
tools/linter/src/test/java/com/google/cloud/verticals/foundations/dataharmonization/tools/linter/TestResourceUtils.java:38
↓ 148 callersMethodisEmpty
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 callersMethodgetName
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 callersMethodasPrimitive
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 callersMethodgetElement
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 callersMethodsetField
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 callersMethodassertDCAPEquals
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 callersMethodset
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 callersMethodgetPath
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 callersMethodisNullOrEmpty
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 callersMethodstring
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 callersMethodnum
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 callersMethodparse
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 callersMethodgetMetaData
Returns the {@link MetaData}
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/function/context/RuntimeContext.java:110
↓ 80 callersMethodexecute
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 callersMethodtoCodeString
Print the tree as code.
tools/linter/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/tools/linter/ast/AntlrToTree.java:179
↓ 78 callersFunctionmakeAny
makeAny marshals the given SourcePosition into an Any and returns it.
wstl1/mapping_language/transpiler/test_helper.go:87
↓ 77 callersMethodaddMapping
addMapping adds the given mapping to the environment and subsequently the projector definition registered by it.
wstl1/mapping_language/transpiler/env.go:173
↓ 77 callersMethodemptyArray
Returns an empty Array implementation.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/DataTypeImplementation.java:27
↓ 74 callersMethodbuilder
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 callersFunctionmustParseJSON
(t *testing.T, message json.RawMessage)
wstl1/mapping_engine/util/jsonutil/jsonutil_test.go:25
↓ 72 callersMethodlint
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 callersMethodequals
(Object o)
tools/languageserver/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/lsp/EngineUtil.java:560
↓ 69 callersMethodtoString
()
tools/docgen/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/reflection/ReflectedInstance.java:203
↓ 69 callersMethodwrite
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 callersMethodasInternal
()
tools/linter/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/tools/linter/ast/BaseTreeNode.java:46
↓ 68 callersMethodtransform
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 callersMethodlog
(String text)
tools/docgen/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/doclet/formatting/Markdown.java:236
↓ 66 callersMethodwithGroup
(String... groupFields)
plugins/reconciliation/reconcommon/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/plugins/reconciliation/merge/ChoiceFieldGroup.java:58
↓ 65 callersMethodgetMeta
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 callersMethodfilter
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 callersMethodbool
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 callersMethodfields
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 callersMethodgetRegistries
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 callersFunctionmustParseContainer
(json json.RawMessage, t *testing.T)
wstl1/mapping_engine/mapping_test/engine_test.go:32
↓ 58 callersMethodgetMessage
()
transpiler/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/error/TranspilationIssue.java:51
↓ 57 callersMethodinitializeTestFile
(String name)
testutil/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/integration/IntegrationTest.java:41
↓ 57 callersMethodisArray
Returns true if this Data is an {@link Array}.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/Data.java:67
↓ 57 callersMethodisPrimitive
Returns true if this Data is a {@link Primitive}.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/Data.java:41
↓ 57 callersMethodsetFieldType
(String fieldType)
plugins/reconciliation/reconcommon/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/plugins/reconciliation/stableid/match/MatchingCriteria.java:248
↓ 55 callersMethodempty
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 callersMethodgetChildren
()
tools/linter/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/tools/linter/ast/InternalNode.java:36
↓ 54 callersMethodof
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 callersMethodaddAll
Adds all {@link Data} elements from an Iterable.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/ArrayBuilder.java:107
↓ 53 callersFunctionmustParseArray
(json json.RawMessage, t *testing.T)
wstl1/mapping_engine/builtins/builtins_test.go:184
↓ 52 callersMethodeq
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 callersMethodcreate
(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 callersMethodof
(Collection<PathSegment> segments)
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/path/Path.java:212
↓ 48 callersMethodsetMeta
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 callersMethodEqual
(JSONToken)
wstl1/mapping_engine/util/jsonutil/jsonutil.go:568
↓ 47 callersMethodinitialize
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 callersMethodisContainer
Returns true if this Data is a {@link Container}.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/Data.java:54
↓ 47 callersMethodsetVar
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 callersMethodaddChild
(MatchingCriteria other)
plugins/reconciliation/reconcommon/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/plugins/reconciliation/stableid/match/MatchingCriteria.java:263
↓ 46 callersMethodarbitrary
()
testutil/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/mock/MockData.java:181
↓ 46 callersMethodgetLine
()
transpiler/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/error/TranspilationIssue.java:59
↓ 46 callersMethodmutableContainerOf
(Consumer<ContainerInitializer> init)
testutil/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/mock/MockData.java:101
↓ 46 callersMethodsetType
(String value)
tools/docgen/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/doclet/model/ReturnDoc.java:32
↓ 46 callersMethodsymbolMeta
( 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 callersMethodchildren
()
plugins/reconciliation/reconcommon/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/plugins/reconciliation/stableid/match/MatchingCriteria.java:113
↓ 45 callersMethodisClass
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 callersMethodmergeMeta
(Meta... metas)
transpiler/src/test/java/com/google/cloud/verticals/foundations/dataharmonization/TestHelper.java:183
↓ 45 callersMethodnode
()
tools/linter/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/tools/linter/ast/IndexedDepthFirstIterator.java:194
↓ 45 callersMethodremove
()
tools/linter/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/tools/linter/ast/IndexedDepthFirstIterator.java:73
↓ 45 callersMethodsetInheritParentVars
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 callersMethodemptyContainer
Returns an empty Container implementation.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/DataTypeImplementation.java:33
↓ 44 callersMethodmockVarCapableRuntimeContext
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 callersMethodsourceMeta
( int startLine, int startCol, int endLine, int endCol, FunctionType type)
transpiler/src/test/java/com/google/cloud/verticals/foundations/dataharmonization/TestHelper.java:76
↓ 43 callersMethodaccept
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 callersMethodjoin
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 callersMethodDiff
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 callersMethoddistance
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 callersMethodsetElement
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 callersMethodgetValue
()
tools/linter/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/tools/linter/ast/TerminalNode.java:34
↓ 39 callersMethodcreate
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 callersMethodtext
(String text)
tools/docgen/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/doclet/formatting/MarkupFormat.java:108
↓ 37 callersMethodapply
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