APISonar


io.crate.execution.dsl.phases.FileUriCollectPhase.InputFormat.JSON

> io > crate > execution > dsl > phases > FileUriCollectPhase > InputFormat > JSON
io APIs crate APIs execution APIs dsl APIs phases APIs FileUriCollectPhase APIs InputFormat APIs JSON APIs

Example 1
public void convertCopyFrom_givenFormatIsSetToJsonInStatement_thenInputFormatIsSetToJson() {
        BoundCopyFrom analysis = analyze(
            "COPY users FROM '/some/distant/file.ext' WITH (format='json')");
        assertThat(analysis.inputFormat(), is(FileUriCollectPhase.InputFormat.JSON));
    }