spark
▼
Project version
v2.2.37
v2.2.36
v2.2.35
v2.2.34
v2.2.33
v2.2.32
v2.2.31
v2.2.30
v2.2.29
v2.2.28
v2.2.27
v2.2.26
v2.2.25
v2.2.24
v2.2.23
v2.2.22
v2.2.21
v2.2.20
v2.2.19
v2.2.18
v2.2.17
v2.2.16
v2.2.15
v2.2.14
v2.2.13
v2.2.12
v2.2.11
v2.2.10
v2.2.9
v2.2.8
v2.2.7
v2.2.6
v2.2.5
v2.2.4
v2.2.3
v2.2.2
v2.2.1
v2.2.0
v2.1.24
v2.1.23
v2.1.22
v2.1.21
v2.1.20
v2.1.19
v2.1.18
v2.1.17
v2.1.16
v2.1.15
v2.1.14
v2.1.13
v2.1.12
v2.1.11
v2.1.10
v2.1.9
v2.1.8
v2.1.7
v2.1.6
v2.1.5
v2.1.4
v2.1.3
v2.1.2
v2.1.1
v2.1.0
v2.0.1
v2.0.0
v1.1.55
v1.1.54
v1.1.53
v1.1.52
v1.1.51
v1.1.50
v1.1.49
v1.1.48
v1.1.47
v1.1.46
v1.1.45
v1.1.44
v1.1.43
v1.1.42
v1.1.41
v1.1.40
v1.1.39
v1.1.38
v1.1.37
v1.1.36
v1.1.35
v1.1.34
v1.1.32
v1.1.31
v1.1.30
v1.1.29
v1.1.28
v1.1.27
v1.1.26
v1.1.25
v1.1.24
v1.1.22
v1.1.21
v1.1.20
v1.1.19
v1.1.18
v1.1.17
v1.1.16
v1.1.15
v1.1.14
v1.1.13
v1.1.12
v1.1.11
v1.1.10
v1.1.9
v1.1.8
v1.1.7
v1.1.6
v1.1.5
v1.1.4
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.9
v1.0.8
v1.0.7
v1.0.6
v1.0.5
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
v0.4.12
v0.4.11
v0.4.10
v0.4.9
v0.4.8
v0.4.7
v0.4.6
v0.4.5
v0.4.4
v0.4.3
v0.4.2
v0.4.1
v0.3.12
v0.3.11
v0.3.10
v0.3.9
v0.3.8
v0.3.7
v0.3.6
v0.3.5
v0.3.4
v0.3.3
v0.3.2
v0.3.1
v0.3.0
v0.2.18
v0.2.17
v0.2.16
v0.2.15
v0.2.14
v0.2.13
v0.2.12
v0.2.11
v0.2.10
v0.2.9
v0.2.8
v0.2.7
v0.2.6
v0.2.5
v0.2.4
v0.2.3
v0.2.2
v0.2.1
v0.2.0
v0.1.29
v0.1.28
v0.1.27
v0.1.26
v0.1.25
v0.1.24
v0.1.23
v0.1.22
v0.1.21
v0.1.20
v0.1.19
v0.1.18
v0.1.17
v0.1.16
v0.1.15
v0.1.14
v0.1.13
v0.1.12
v0.1.11
v0.1.10
v0.1.9
v0.1.8
v0.1.7
v0.1.6
v0.1.5
v0.1.4
v0.1.3
v0.1.2
v0.1.1
v0.1.0
GUIDES
Modules
Mix
Tasks
API Reference
Modules
Mix Tasks
How To
Upgrading to 2.0
Writing Extensions
The DSL declaration
Transformers
Introspection
Splitting Up Large DSLs
Fragments
Tutorials
Spark
Dependency
Your First DSL
Conclusion
DSLs and Extensions
Spark.Dsl
Sections
Schemas/Data Types
Summary
Types
entity/0
opts/0
section/0
t/0
Callbacks
explain/2
handle_before_compile/1
handle_opts/1
init/1
verify/2
Functions
handle_fragments/2
is?/2
Spark.Dsl.Builder
Summary
Types
input/0
result/0
Functions
defbuilder/2
defbuilderp/2
handle_nested_builders/2
Spark.Dsl.Entity
Sections
Example
Summary
Types
args/0
auto_set_fields/0
deprecations/0
describe/0
docs/0
entities/0
examples/0
hide/0
id/0
imports/0
links/0
modules/0
name/0
no_depend_modules/0
recursive_as/0
singleton_entity_keys/0
snippet/0
t/0
target/0
transform/0
Spark.Dsl.Extension
Summary
Types
t/0
Callbacks
add_extensions/0
explain/1
module_imports/0
persisters/0
sections/0
transformers/0
verifiers/0
Functions
doc/2
doc_index/2
expand_alias/2
expand_alias_no_require/2
expand_literals/3
fetch_opt/4
fetch_persisted/2
get_entities/2
get_entity_dsl_patches/2
get_opt/5
get_opt_config/3
get_persisted/3
get_recursive_entities_for_path/2
module_concat/1
monotonic_number/1
run_transformers/4
shuffle_opts_to_end/5
spark_function_info/1
Spark.Dsl.Fragment
Spark.Dsl.Patch.AddEntity
Summary
Types
t/0
Spark.Dsl.Section
Summary
Types
auto_set_fields/0
describe/0
docs/0
entities/0
examples/0
imports/0
links/0
modules/0
name/0
no_depend_modules/0
patchable?/0
sections/0
snippet/0
t/0
top_level?/0
Spark.Dsl.Transformer
Summary
Callbacks
after?/1
after_compile?/0
before?/1
transform/1
Functions
add_entity/4
async_compile/2
build_entity/4
build_entity!/4
eval/3
fetch_option/3
fetch_persisted/2
get_entities/2
get_option/4
get_persisted/3
persist/3
remove_entity/3
replace_entity/4
set_option/4
sort/1
Spark.Dsl.Verifier
Summary
Callbacks
verify/1
Functions
fetch_option/3
get_entities/2
get_option/3
get_option/4
get_persisted/2
get_persisted/3
Spark.Dsl.Verifiers.VerifyEntityUniqueness
Summary
Functions
verify/1
Options
Spark.Options
Sections
Schema Options
Types
Example
Nested Option Items
Validating Schemas
Summary
Types
option_schema/0
schema/0
t/0
type/0
Functions
docs/2
merge/3
new!/1
option_typespec/1
validate/2
validate!/2
Spark.Options.Helpers
Summary
Functions
append_doc!/3
make_optional!/2
make_required!/2
set_default!/3
set_type!/3
Spark.Options.ValidationError
Summary
Types
t/0
Functions
%Spark.Options.ValidationError{}
Spark.Options.Validator
Sections
Upgrading from options lists
Example
Spark.OptionsHelpers
Summary
Functions
append_doc!/3
docs/1
make_optional!/2
make_required!/2
merge_schemas/3
set_default!/3
set_type!/3
validate/2
validate!/2
Errors
Spark.Error.DslError
Summary
Types
t/0
Internals
Spark
Summary
Functions
extensions/1
implements_behaviour?/2
otp_app/1
sparks/2
Spark.CheatSheet
Summary
Functions
cheat_sheet/1
doc/2
doc_index/3
section_cheat_sheet/2
Spark.CodeHelpers
Summary
Functions
code_identifier/1
lift_functions/3
prewalk/2
prewalk/4
traverse/5
Spark.Docs
Summary
Functions
search_data_for/1
Spark.Formatter
Summary
Functions
features/1
format/2
Spark.Igniter
Summary
Functions
add_extension/6
find/3
get_option/3
has_extension/5
prepend_to_section_order/3
remove_extension/6
set_option/5
update_dsl/5
Spark.InfoGenerator
Sections
Usage
Summary
Types
options/0
Functions
generate_config_functions/2
generate_entity_functions/2
generate_options_functions/2
spec_for_type/2
Internals
mix spark.cheat_sheets
Summary
Functions
run/1
mix spark.cheat_sheets_in_search
Summary
Functions
run/1
mix spark.formatter
Summary
Functions
all_entity_builders_everywhere/3
run/1
mix spark.install
mix spark.replace_doc_links
Summary
Functions
run/1
Search documentation of spark
Settings
View Source
Spark.Options.Helpers
(spark v2.2.37)
Helpers for use with spark options
Summary
Functions
append_doc!(options, field, to_append)
make_optional!(options, field)
make_required!(options, field)
set_default!(options, field, value)
set_type!(options, field, type)
Functions
Link to this function
append_doc!(options, field, to_append)
View Source
Link to this function
make_optional!(options, field)
View Source
Link to this function
make_required!(options, field)
View Source
Link to this function
set_default!(options, field, value)
View Source
Link to this function
set_type!(options, field, type)
View Source
×