Install/copy:
Run keybinds.ahk with autohotkey, Win+Enter spawns new terminal.
Install/copy:
Run keybinds.ahk with autohotkey, Win+Enter spawns new terminal.
| /** | |
| * Get associated terms for this measurement with the given standard deviation value. | |
| * | |
| * @param standardDeviation the measurement's standard deviation value or {@code null} for all associated terms | |
| * @return a list of terms | |
| */ | |
| public Collection<VocabularyTerm> getAssociatedTerms(Double standardDeviation) | |
| { | |
| ResourceBundle configuration = ResourceBundle.getBundle("measurementsAssociatedTerms"); |
I hereby claim:
To claim this, I am signing this object:
September 11th 2015
| <? | |
| ///////////////////// | |
| // slack2html | |
| // by @levelsio | |
| ///////////////////// | |
| // | |
| ///////////////////// | |
| // WHAT DOES THIS DO? | |
| ///////////////////// | |
| // |
| import java.util.HashMap; | |
| import java.util.Map; | |
| import java.util.concurrent.Executor; | |
| import java.util.concurrent.Executors; | |
| import java.util.concurrent.Future; | |
| public class FutureManager { | |
| Executor executor = Executors.newSingleThreadExecutor(); | |
| Map<String, Future> futures; | |
| long timeToSleep; |
| public class DrillJDBCTestTrial { | |
| public static void main(String[] args) throws SQLException, ClassNotFoundException { | |
| Class.forName("org.apache.drill.jdbc.Driver"); | |
| Connection connection = DriverManager.getConnection("jdbc:drill:zk=local"); | |
| String query = "select N_NAME from dfs.`/home/meatcar/dev/drill/apache-drill-0.7.0/sample-data/nation.parquet`"; | |
| PreparedStatement statement = connection.prepareStatement(query); | |
| // hangs here | |
| ResultSet rs = statement.executeQuery(); |