- All Superinterfaces:
ExposesCreate,ExposesFinish,ExposesMatch,ExposesMerge,ExposesReturning,ExposesSubqueryCall,ExposesUnwind,ExposesWith,StatementBuilder
@API(status=STABLE,
since="2021.2.1")
public interface LoadCSVStatementBuilder
extends StatementBuilder
- Since:
- 2021.2.1
- Author:
- Michael J. Simons
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAn instance of this interface will be provided after pointing the database to a validURIof a CSV resource.Nested classes/interfaces inherited from interface org.neo4j.cypherdsl.core.ExposesSubqueryCall
ExposesSubqueryCall.BuildableSubqueryNested classes/interfaces inherited from interface org.neo4j.cypherdsl.core.StatementBuilder
StatementBuilder.BuildableMatchAndUpdate, StatementBuilder.BuildableOngoingMergeAction, StatementBuilder.BuildableStatement<T extends Statement>, StatementBuilder.ExposesDelete, StatementBuilder.ExposesExistentialSubqueryCall, StatementBuilder.ExposesForeach, StatementBuilder.ExposesLimit, StatementBuilder.ExposesMergeAction, StatementBuilder.ExposesOrderBy, StatementBuilder.ExposesSet, StatementBuilder.ExposesSetAndRemove, StatementBuilder.ExposesSetLabel<R>, StatementBuilder.ExposesSkip, StatementBuilder.ExposesUpdatingClause, StatementBuilder.ExposesYieldStar, StatementBuilder.ForeachSourceStep, StatementBuilder.ForeachUpdateStep, StatementBuilder.OngoingInQueryCallWithArguments, StatementBuilder.OngoingInQueryCallWithoutArguments, StatementBuilder.OngoingInQueryCallWithReturnFields, StatementBuilder.OngoingMatchAndReturnWithOrder, StatementBuilder.OngoingMatchAndUpdate, StatementBuilder.OngoingMerge, StatementBuilder.OngoingMergeAction, StatementBuilder.OngoingOrderDefinition, StatementBuilder.OngoingReading, StatementBuilder.OngoingReadingAndReturn, StatementBuilder.OngoingReadingAndWith, StatementBuilder.OngoingReadingAndWithWithSkip, StatementBuilder.OngoingReadingAndWithWithWhereAndOrder, StatementBuilder.OngoingReadingWithoutWhere, StatementBuilder.OngoingReadingWithWhere, StatementBuilder.OngoingStandaloneCallWithArguments, StatementBuilder.OngoingStandaloneCallWithoutArguments, StatementBuilder.OngoingStandaloneCallWithReturnFields, StatementBuilder.OngoingUnwind, StatementBuilder.OngoingUpdate, StatementBuilder.OrderableOngoingReadingAndWith, StatementBuilder.OrderableOngoingReadingAndWithWithoutWhere, StatementBuilder.OrderableOngoingReadingAndWithWithWhere, StatementBuilder.Terminal, StatementBuilder.TerminalExposesLimit, StatementBuilder.TerminalExposesOrderBy, StatementBuilder.TerminalExposesSkip, StatementBuilder.TerminalOngoingOrderDefinition, StatementBuilder.VoidCall -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull LoadCSVStatementBuilder.OngoingLoadCSVStarts building aLOAD CSV.static @NotNull ExposesLoadCSVusingPeriodicCommit(@Nullable Integer rate) Starts building aLOAD CSVclause by using a periodic commit.@NotNull StatementBuilderwithFieldTerminator(String fieldTerminator) Configure a field terminator in case the fields aren't separated with the default ,Methods inherited from interface org.neo4j.cypherdsl.core.ExposesCreate
create, createMethods inherited from interface org.neo4j.cypherdsl.core.ExposesFinish
finishMethods inherited from interface org.neo4j.cypherdsl.core.ExposesMatch
match, match, match, optionalMatch, optionalMatchMethods inherited from interface org.neo4j.cypherdsl.core.ExposesMerge
mergeMethods inherited from interface org.neo4j.cypherdsl.core.ExposesReturning
returning, returning, returning, returning, returningDistinct, returningDistinct, returningDistinct, returningDistinct, returningRawMethods inherited from interface org.neo4j.cypherdsl.core.ExposesSubqueryCall
call, call, call, callInTransactions, callInTransactions, callInTransactions, callInTransactions, callInTransactions, callInTransactions, callRawCypherMethods inherited from interface org.neo4j.cypherdsl.core.ExposesUnwind
unwind, unwind, unwindMethods inherited from interface org.neo4j.cypherdsl.core.ExposesWith
with, with, with, withDistinct, withDistinct, withDistinct
-
Method Details
-
usingPeriodicCommit
@NotNull @Contract(pure=true) static @NotNull ExposesLoadCSV usingPeriodicCommit(@Nullable @Nullable Integer rate) Starts building aLOAD CSVclause by using a periodic commit.- Parameters:
rate- The rate to be used. No checks are done on the rate, the database will verify valid values.- Returns:
- An ongoing definition of a
LOAD CSVclause
-
loadCSV
@NotNull @Contract(pure=true) static @NotNull LoadCSVStatementBuilder.OngoingLoadCSV loadCSV(URI from, boolean withHeaders) Starts building aLOAD CSV.- Parameters:
from- TheURIto load data from. Any uri that is resolvable by the database itself is valid.withHeaders- Set to true if the csv file contains header- Returns:
- An ongoing definition of a
LOAD CSVclause
-
withFieldTerminator
Configure a field terminator in case the fields aren't separated with the default ,- Parameters:
fieldTerminator- A new field terminator- Returns:
- A statement builder supporting all available clauses
-