-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stream the result from Search Backend instead of use List.
Signed-off-by: David Clement <david.clement90@laposte.net>
- Loading branch information
1 parent
b5f0e2a
commit 43755cf
Showing
32 changed files
with
961 additions
and
400 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
janusgraph-core/src/main/java/org/janusgraph/diskstorage/UncheckedIOException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// Copyright 2017 JanusGraph Authors | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
package org.janusgraph.diskstorage; | ||
|
||
/** | ||
* | ||
* @author davidclement@laposte.net | ||
* | ||
*/ | ||
public class UncheckedIOException extends RuntimeException { | ||
|
||
private static final long serialVersionUID = -4416688826691426497L; | ||
|
||
/** | ||
* @param msg Exception message | ||
*/ | ||
public UncheckedIOException(String msg) { | ||
super(msg); | ||
} | ||
|
||
/** | ||
* @param msg Exception message | ||
* @param cause Cause of the exception | ||
*/ | ||
public UncheckedIOException(String msg, Throwable cause) { | ||
super(msg, cause); | ||
} | ||
|
||
/** | ||
* Constructs an exception with a generic message | ||
* | ||
* @param cause Cause of the exception | ||
*/ | ||
public UncheckedIOException(Throwable cause) { | ||
this("Unckecked IO failure in storage backend", cause); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.