query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
TODO Autogenerated method stub
@Override public long add(News news) throws Exception { openCurrentSessionWithTransaction(); getCurrentSession().save(news); closeCurrentSessionWithTransaction(); return news.getIdNews(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public boolean modify(News news) { try { openCurrentSessionWithTransaction(); getCurrentSession().update(news); closeCurrentSessionWithTransaction(); return true; } catch(Exception e) { e.printStackTrace(); return false; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public boolean delete(News news) { try { openCurrentSessionWithTransaction(); getCurrentSession().delete(news); closeCurrentSessionWithTransaction(); return true; } catch(Exception e) { e.printStackTrace(); return false; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public List<News> getList() { openCurrentSession(); @SuppressWarnings("unchecked") List<News> list = (List<News>)getCurrentSession().createQuery("FROM News").list(); closeCurrentSession(); return list; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
ExStart:AccessSmartArt The path to the documents directory.
public static void main(String[] args) { String dataDir = RunExamples.getDataDir_SmartArts(); // Load the desired the presentation Presentation pres = new Presentation(dataDir + "AccessSmartArt.pptx"); try { // Traverse through every shape inside first slide ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String getDicDir() {\n\t\tString wDir = null;\n\n\t\tif (System.getProperties().containsKey(\"root\")) {\n\t\t\twDir = System.getProperty(\"root\");\n\t\t}\n\n\t\tif ((wDir == null || wDir.isEmpty()) && CPlatform.isMacOs())\n\t\t\twDir = new File(CPlatform.getUserHome(), \"Library/Spelling\")\n\t\t\t\t\t.g...
[ "0.5663338", "0.5559289", "0.5539013", "0.5491924", "0.5460955", "0.5394009", "0.5364018", "0.5359379", "0.5340629", "0.5323169", "0.5267008", "0.52116114", "0.52079326", "0.51765054", "0.51701707", "0.51678246", "0.5126845", "0.51213324", "0.50949425", "0.50904703", "0.50832...
0.0
-1
Konstruktor tworzy pusta tablice o rozmiarze 2.
public ZbiorNaTablicyDynamicznej() { super(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static void obiektyTablice() {\n\n Object obiektString = new String();\n Object obiektObiekt = new Object();\n Integer[] obiektInt = new Integer[3];\n int[] tablicaInt = new int[5];\n\n obiektString = \"tekstStringa\";\n obiektObiekt = \"tekstObiektu\";\n obiektInt[...
[ "0.6655999", "0.6379017", "0.6325476", "0.617449", "0.6173534", "0.5924942", "0.5911897", "0.58391774", "0.5821561", "0.58205146", "0.58139694", "0.57840437", "0.5699222", "0.56223816", "0.56059587", "0.5560049", "0.55512834", "0.5532831", "0.5501958", "0.54997903", "0.549791...
0.0
-1
/ Here you're not overriding Super.foo because it's declared private. If
public void foo() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "@Override\n public boolean isPrivate() {\n return true;\n }", "public void method_6349() {\r\n super.method_6349();\r\n }", "public void method_6191() {\r\n super.method_6191();\r\n }", "@Override\n protected void checkSubclass() {\...
[ "0.61750126", "0.6150714", "0.60442376", "0.59639025", "0.59120643", "0.5906105", "0.59037155", "0.59037155", "0.59037155", "0.58973086", "0.5872851", "0.58453345", "0.5837402", "0.5837402", "0.5837402", "0.5837402", "0.5837402", "0.5837402", "0.5837402", "0.5837402", "0.5837...
0.58780134
10
TODO Autogenerated method stub
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { try(PrintWriter out= response.getWriter()){ String user=request.getParameter("user"); String pass=request.getParameter("pass"); SessionFactory sf = new Configuration().configure().buildSe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Method to check if the current credit card transaction is fraud
private boolean isFraudTransaction(final CreditCardTransactionDTO currentCCTransaction, final TransactionSummary previousTransactionSummary) { removeOutdatedTransactions(currentCCTransaction, previousTransactionSummary); final BigDecimal newTransactionsAmount = previousTransactionSummary.getTotalAmount(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isBankrupt() {\n\t\tif (money < 0) {\n\t\t\treturn true;\n\t\t}\n\t\telse {\n\t\t\treturn false;\n\t\t}\n\t}", "boolean isCreditCardIsSingleAvailablePayment();", "public boolean fundTransfer(int accountNumber, float amount) {\n\t\treturn dao.fundTransfer(accountNumber,amount);\r\n\t}", "public...
[ "0.6535635", "0.6382978", "0.6312592", "0.6249548", "0.6248146", "0.62092245", "0.61255795", "0.612452", "0.6123794", "0.6111298", "0.60954446", "0.60906565", "0.6080113", "0.60429806", "0.6031177", "0.60106605", "0.6008507", "0.600629", "0.59960264", "0.5990319", "0.5965502"...
0.7261946
0
Method to remove the outdated transactions which are out of the fraud window from the previous transaction list captured. This will ensure only the transactions relevant to the fraud window are stored and used for the fraud detection for efficient memory usage and performance.
private void removeOutdatedTransactions(final CreditCardTransactionDTO currentCCTransaction, final TransactionSummary previousTransactionSummary) { final SortedSet<TransactionModel> transactions = previousTransactionSummary.getTransactions(); BigDecimal amountToBeReduced = BigDecimal.valueOf(Constants.Z...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void cleanUpOlderRevisions() {\n\n // We're no longer using the source revision.\n final long priorOldestRevisionInUse = sourceRevisionsInUse.peek();\n sourceRevisionsInUse.remove( this.sourceRevisionNumber );\n\n // Determine the oldest revision still needed.\n Long olde...
[ "0.6400428", "0.5901569", "0.58609116", "0.5858331", "0.58316785", "0.5790765", "0.5765707", "0.5760935", "0.57368064", "0.57027406", "0.5690794", "0.567432", "0.5631695", "0.56274474", "0.56238323", "0.5585608", "0.5579778", "0.55754185", "0.5573876", "0.55631876", "0.551860...
0.67695296
0
Method to check if the transaction is outdated i.e. out of the fraud window in comparison to current transaction record
private boolean isOutdatedTransaction(final TransactionModel transactionToBeChecked, final CreditCardTransactionDTO currentCCTransaction) { final long difference = DateTimeUtil.getTimeDifference(fraudConfig.getChronoUnit(), transactionToBeChecked.getTimestamp(), currentCCTransaction.getTimestamp()); ret...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isUpToDate() {\n return false;\n }", "boolean hasTransactionChangesPending() {\n// System.out.println(transaction_mod_list);\n return transaction_mod_list.size() > 0;\n }", "boolean hasTransactionDateTime();", "boolean hasTsUpdate();", "private boolean isFraudTransaction(fin...
[ "0.65731865", "0.62769204", "0.626305", "0.6258961", "0.6217091", "0.60436463", "0.59959173", "0.59612876", "0.59579027", "0.5956288", "0.590881", "0.59045553", "0.59045553", "0.58967334", "0.58233994", "0.580845", "0.5779026", "0.57550097", "0.5751448", "0.57498294", "0.5746...
0.76991117
0
Method to update the transaction summary for the new credit card record
private void updateTransactionSummary(final CreditCardTransactionDTO creditCardTransaction, final SortedSet<TransactionModel> transactions, final BigDecimal totalAmount) { final TransactionSummary updatedTransactionsData = new TransactionSummary(transactions, totalAmount); creditCardTransactionDao.updat...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void testUpdateSummary() throws Exception {\r\n System.out.println(\"updateSummary\");\r\n LocalDate date = null;\r\n Summarizer instance = null;\r\n instance.updateSummary(date);\r\n // TODO review the generated test code and remove the default call to fail.\r\n fa...
[ "0.60972077", "0.59916", "0.5979963", "0.59292924", "0.5833098", "0.5824401", "0.5814446", "0.58008033", "0.57731235", "0.577135", "0.5720736", "0.56711745", "0.56541365", "0.5652553", "0.5652553", "0.56183493", "0.5594638", "0.55840755", "0.55704165", "0.55402386", "0.552585...
0.74603134
0
This function will place the block in the top residual space
public void placeBlockInTopResSpace(Block block, TT tt){ ResidualSpace res = rs_stack.pop(); // Place the block, this also updates the locations of the parcels inside it block.setLocation(res.getLocation().clone()); block_placements.add(block.getId()); // Add the id of the placed block...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public CLIJ2_ResliceRadialTopBlock() {\n super(new ResliceRadialTop());\n }", "public void updateMainBlock() {\n\t\tthis.mainblock = player.getWorld().getBlockAt(player.getLocation().add(0, -1, 0));\n\t}", "Tetrisblock()\n {\n newblockparam();\n newmapparam();\n ...
[ "0.62672085", "0.605987", "0.60095835", "0.59236276", "0.58400136", "0.5766632", "0.5747479", "0.57316387", "0.56367904", "0.56155473", "0.5584509", "0.55289996", "0.55239767", "0.5501349", "0.54961514", "0.5458564", "0.54282755", "0.53953356", "0.53643125", "0.5337127", "0.5...
0.7612878
0
bll for the possible blocks, n the number of blocks to return
public ArrayList<Block> generateRsBlocklist(ResidualSpace res, ArrayList<Block> bll, int n){ ArrayList<Block> bll_rs = new ArrayList<>(); if(res == null){ // No more residual space left return bll_rs; } // Find all the boxes that fit for(int i = 0; i < b...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int numOfBlocks() {\n return ni * nj * nk;\n }", "abstract public int getNumberOfBlocks();", "int process(int maxBlocks);", "public int getNumberOfBlocks(ImagePlus img, int m, int n);", "public void initializeBlocks(final int baseIndex, final Block startBlock, int n) {\n /* Fill in the res...
[ "0.69621813", "0.67223686", "0.66320246", "0.6619817", "0.6331878", "0.63075364", "0.6210403", "0.6160318", "0.6023458", "0.6023458", "0.5966852", "0.59628433", "0.59610933", "0.5910404", "0.59010607", "0.58863056", "0.58846414", "0.5870533", "0.5868186", "0.58650947", "0.585...
0.6803226
1
Generates the daughter res spaces as specified in the paper and places them in the residual stack First get all the variables we need
private void generateDaughterResSpaces(Block b, ResidualSpace res){ int blx = b.getX_size(); int bly = b.getY_size(); int blz = b.getZ_size(); int rsx = res.getX_size(); int rsy = res.getY_size(); int rsz = res.getZ_size(); int rmx = rsx - blx; int rmy =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void generateVariablesAndConstraints() {\n\t\tVariable norwegian=new Variable(generateDomain(), \"norwegian\");\n\t\tVariable english=new Variable(generateDomain(), \"english\");\n\t\tVariable dane=new Variable(generateDomain(), \"dane\");\n\t\tVariable german=new Variable(generateDomain(), \"german\");\n\...
[ "0.57498634", "0.5268696", "0.52585703", "0.51432", "0.50949234", "0.50391227", "0.50332874", "0.5029394", "0.50227374", "0.500205", "0.49965048", "0.49852085", "0.49616718", "0.49309027", "0.49107042", "0.48977295", "0.48846442", "0.48706225", "0.48633313", "0.486298", "0.48...
0.68359774
0
Check if any parcel fits in the residual space, start at the smallest volume to be fast
private boolean aParcelFitsInRes(ResidualSpace res){ for(int i = bres.length - 1; i >= 0; i--){ if(bres[i] > 0){ if(parcel_types[i].getX_size() <= res.getX_size() && parcel_types[i].getY_size() <= res.getY_size() && parcel_types[i].getZ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean checkRemainingRes() {\n for (int i = 0; i < playingField.getPlayingField().length; i++) {\n for (int j = 0; j < playingField.getPlayingField()[i].length; j++) {\n if (playingField.getPlayingField()[i][j].getResources() > 0) {\n return true;\n ...
[ "0.5525171", "0.5482735", "0.52922565", "0.5201062", "0.51645607", "0.5155019", "0.5119507", "0.51106244", "0.5107735", "0.5105647", "0.50790095", "0.5036587", "0.5030676", "0.5005828", "0.5003468", "0.49984375", "0.49844527", "0.49720505", "0.49585342", "0.49469712", "0.4933...
0.6977575
0
TODO: not sure if this makes a deep copy
public Stack<ResidualSpace> getRs_stack() { return (Stack<ResidualSpace>) rs_stack.clone(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public Object clone() {\n return super.clone();\n }", "public void copy() {\n\n\t}", "private Shop deepCopy() {\n BookShop obj = null;\n try {\n obj = (BookShop) super.clone();\n List<Book> books = new ArrayList<>();\n Iterator<Book> itera...
[ "0.6197055", "0.6139835", "0.59858996", "0.598241", "0.5970244", "0.594691", "0.59236455", "0.59236455", "0.59236455", "0.5894638", "0.5880122", "0.585104", "0.58497983", "0.58497983", "0.58497983", "0.58497983", "0.58497983", "0.58497983", "0.58497983", "0.58497983", "0.5849...
0.0
-1
get a resource item matching the given type and name
@Override protected void load(ScanningContext context) { ResourceItem item = getRepository().getResourceItem(mType, mResourceName); // add this file to the list of files generating this resource item. item.add(this); // Ask for an ID refresh since we're adding an item that will gen...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Object get(String itemName);", "CatalogItem getCatalogItemByName(String name);", "public Item getItem(String typeItem){\r\n if(typeItem.equals(\"coeur\")){\r\n Item coeur = new Coeur();\r\n return coeur;\r\n } else if(typeItem.equals(\"potionvie\")){\r\n It...
[ "0.6749929", "0.6670118", "0.66439134", "0.65450007", "0.64957726", "0.6419021", "0.63469416", "0.6288552", "0.6210463", "0.6071113", "0.6017809", "0.6007457", "0.59848833", "0.5968173", "0.59053665", "0.5895032", "0.58827114", "0.5872538", "0.58627933", "0.58540434", "0.5802...
0.0
-1
when this happens, nothing needs to be done since the file only generates a single resources that doesn't actually change (its content is the file path) However, we should check for newly introduced errors
@Override protected void update(ScanningContext context) { validateAttributes(context); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void initialize() throws ResourceInitializationException {\n\n String oPath = (String) getUimaContext().getConfigParameterValue(\"outputFile\");\n if (oPath == null) {\n throw new ResourceInitializationException(\n ResourceInitializationException.CONFIG_SETTING_ABSENT, new Object[] {...
[ "0.634401", "0.602526", "0.5942337", "0.59234476", "0.5913943", "0.5871779", "0.57600576", "0.5746317", "0.5717775", "0.56772554", "0.56536955", "0.5642808", "0.5636709", "0.5632977", "0.559489", "0.5586957", "0.55734557", "0.5572734", "0.5550931", "0.552854", "0.55104494", ...
0.0
-1
only remove this file from the existing ResourceItem.
@Override protected void dispose(ScanningContext context) { getFolder().getRepository().removeFile(mType, this); // Ask for an ID refresh since we're removing an item that previously generated an ID context.requestFullAapt(); // don't need to touch the content, it'll get reclaimed ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void deleteResource() {\n }", "void delete(InformationResourceFile file);", "private static void deleteResource(ProjectElement element) {\r\n \t\tResource resource = element.eResource();\r\n \t\tif (resource != null) {\r\n resource.getContents().remove(element);\r\n resource....
[ "0.6488948", "0.6399518", "0.6178032", "0.6173817", "0.6163518", "0.6106382", "0.60311955", "0.60269356", "0.60135615", "0.59968567", "0.5964891", "0.5946549", "0.5932535", "0.5929129", "0.5927367", "0.59214526", "0.590933", "0.5896907", "0.5882115", "0.58627933", "0.5862406"...
0.5514942
51
Returns the name of the resources.
private String getResourceName(ResourceType type) { // get the name from the filename. String name = getFile().getName(); int pos = name.indexOf('.'); if (pos != -1) { name = name.substring(0, pos); } return name; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.String getResourceNames(int index) {\n return resourceNames_.get(index);\n }", "public java.lang.String getResourceNames(int index) {\n return resourceNames_.get(index);\n }", "public String getResourceName() {\n return getBaseName() + getNameSuffix();\n }", "String getResour...
[ "0.71488327", "0.7132112", "0.70938915", "0.68926984", "0.677383", "0.67407274", "0.66861415", "0.6678346", "0.66675645", "0.6629816", "0.6620299", "0.65669304", "0.6547359", "0.6514297", "0.63799566", "0.63751334", "0.63432765", "0.62964416", "0.62956554", "0.6206383", "0.61...
0.0
-1
Validates the associated resource file to make sure the attribute references are valid
private boolean validateAttributes(ScanningContext context) { // We only need to check if it's a non-framework file (and an XML file; skip .png's) if (!isFramework() && SdkUtils.endsWith(getFile().getName(), DOT_XML)) { ValidatingResourceParser parser = new ValidatingResourceParser(context, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void validateITResource() {\n // TODO Auto-generated method stub\n \n }", "public void validate() throws org.apache.thrift.TException {\n if (File != null) {\n File.validate();\n }\n }", "public boolean readAttributeFile(File file);", "public void validate...
[ "0.64758915", "0.5916937", "0.5898589", "0.5890217", "0.585321", "0.58173424", "0.5759666", "0.57587034", "0.57460576", "0.5696913", "0.56428826", "0.56034577", "0.55937487", "0.5578835", "0.55700123", "0.551257", "0.54740494", "0.5457336", "0.54506505", "0.54465604", "0.5439...
0.68359256
0
/ On compte combien de fois on croise un segment
private boolean intersection(Point2D p1,Point2D p2, Point2D p3, Point2D p4 ){ if(p1.equals(p3)||p1.equals(p4)||p2.equals(p3)||p2.equals(p4)){ // Point en commun cas particulier return true; } double pv1=produitVectoriel(p1,p2,p3,p4); if(pv1==0){ // droite parallele ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SuppressWarnings(\"unused\")\r\n private void JCATsegmentSubcutaneousFat2D() {\r\n \r\n // a buffer to store a slice from the source Image\r\n short[] srcBuffer;\r\n try {\r\n srcBuffer = new short [sliceSize];\r\n } catch (OutOfMemoryError error) {\r\n ...
[ "0.69678056", "0.68742865", "0.6206085", "0.60836595", "0.59208286", "0.58445007", "0.58358747", "0.5731312", "0.57178795", "0.57123095", "0.56338894", "0.5614397", "0.5593154", "0.5586612", "0.55858576", "0.5583819", "0.5545294", "0.55376285", "0.55108273", "0.55105454", "0....
0.0
-1
on prend que le dernier element du produit vectoriel car en 2D les deux premier =0
private double produitVectoriel(Point2D p1,Point2D p2, Point2D p3, Point2D p4) { double xv1 = p2.getX() - p1.getX(); double xv2 = p4.getX() - p3.getX(); double yv1 = p2.getY() - p1.getY(); double yv2 = p4.getY() - p3.getY(); return (xv1 * yv2) - (xv2 * yv1); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void evoluer()\n {\n int taille = grille.length;\n int nbVivantes = 0;\n for(int i=-1; i<2; i++)\n {\n int xx = ((x+i)+taille)%taille; // si x+i=-1, xx=taille-1. si x+i=taille, xx=0\n for(int j=-1; j<2; j++)\n {\n if (i==0 && j==0) cont...
[ "0.61636084", "0.61373365", "0.6100417", "0.6079218", "0.6071711", "0.5905865", "0.5896231", "0.58815116", "0.58164775", "0.5763077", "0.57402515", "0.56913203", "0.56845766", "0.5676095", "0.5639688", "0.5633557", "0.5631038", "0.5619166", "0.5596813", "0.55916774", "0.55485...
0.54976004
25
A function that returns the paths of the parts of a folder or the file in a list
protected static Path[] globInternal(Path folderOrFile, FileSystem fs) throws IOException { Path input = folderOrFile; Path[] files; if (fs != null && fs.exists(input)) { if (fs.isDirectory(input)) { input = new Path(input.toUri().toString() + "/part-*"); FileStatus[] fStatus= fs.globStatus(input); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "List<String> getListPaths();", "public abstract List<String> path();", "List<Path> getFiles();", "java.util.List<java.lang.String>\n getPathsList();", "abstract public List<S> getPath();", "protected abstract String[] getFolderList() throws IOException;", "public abstract List<String> getDirs( )...
[ "0.7248371", "0.70836556", "0.6954715", "0.69417137", "0.68278295", "0.6696576", "0.6643863", "0.6642655", "0.6635866", "0.6526202", "0.6469014", "0.6443006", "0.64426506", "0.6423468", "0.64091086", "0.64048016", "0.63840526", "0.63802516", "0.636147", "0.6337335", "0.633211...
0.5770455
60
Function to read in data from a file in the following structure: \n and place it in a HashMap
protected static void readIn(Path p, HashMap<String, Double> myMap, FileSystem fs) throws IOException { FSDataInputStream inputStream = fs.open(p); BufferedReader br = new BufferedReader(new InputStreamReader(inputStream)); // Read in all the lines and push into hashmap String line; while((line...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public HashMap<String, String> convertToString() throws IOException\n\t{\n\t HashMap<String, String> map = new HashMap<String, String>();\n\n\t String line;\n\t BufferedReader reader;\n\t String multiple_line=null;\n\t\ttry {\n\t\t\treader = new BufferedReader(new FileReader(filePath));\n\t\t\t\n\t\t\t...
[ "0.7440526", "0.6602797", "0.64543086", "0.6453004", "0.63882035", "0.635895", "0.63341343", "0.6130336", "0.60703313", "0.6013837", "0.5998416", "0.59204125", "0.5916377", "0.5881632", "0.586732", "0.5841753", "0.5822183", "0.5783271", "0.57703227", "0.57569295", "0.57550275...
0.56369746
29
Function to read in data from a file in the following structure: \n and compare it to the inside of a current hash
protected static void compareIn(Path p, HashMap<String, Double> myMap, FileSystem fs, Double tolerance) throws IOException { FSDataInputStream inputStream = fs.open(p); BufferedReader br = new BufferedReader(new InputStreamReader(inputStream)); // Read in all the lines and push into hash-map String ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void readFile(String fileName)\r\n {\n String key = new String();\r\n String value = new String();\r\n\r\n boolean readInfo = false;\r\n String out =\"\";\r\n String infoTag = \"\";\r\n String infoTagContent = \"\";\r\n\r\n try{\r\n System.out.p...
[ "0.59510434", "0.54468316", "0.5334012", "0.5311211", "0.5249559", "0.52322245", "0.5226519", "0.51859516", "0.5171897", "0.51625586", "0.5152765", "0.5122038", "0.50978106", "0.5096282", "0.5092463", "0.5077361", "0.506709", "0.5054771", "0.5052185", "0.5047832", "0.5040666"...
0.0
-1
Main runner of this comparator
public static void main(String[] args) throws IOException { if (args.length != 2) throw new Error("Not enough arguments: bin 1 and bin 2 will be compared"); Configuration conf = new Configuration(); Path binLoc = new Path(args[0]); FileSystem fs = binLoc.getFileSystem(conf); // First import in bin 1 /...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) {\n try{\n File fileConfigPath;\n if(args.length==0) {\n fileConfigPath = new File(DEFAULT_CONFIG_FILE_PATH);\n }else{\n fileConfigPath = new File(args[0]);\n }\n FileReader fileReader...
[ "0.65303206", "0.64309597", "0.6316755", "0.62712663", "0.6113473", "0.61075306", "0.6091614", "0.6028801", "0.5957022", "0.59477067", "0.5917158", "0.5900379", "0.5898225", "0.5865191", "0.58644634", "0.58391297", "0.58122903", "0.5781467", "0.5777977", "0.5773166", "0.57268...
0.0
-1
hashMap + bit manipulation solution, in this solution we use a mark 0xFFFFF to avoid building whole string boundary check
public List<String> findRepeatedDnaSequences(String s) { if(s.length() < 10) return new ArrayList<String>(); int[] map = new int[256]; map['A'] = 0; map['T'] = 1; map['C'] = 2; map['G'] = 3; List<String> result = new ArrayList<String>(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long BPHash(String str) {\n\t\tlong hash = 0;\n\n\t\tfor (int i = 0; i < str.length(); i++) {\n\t\t\thash = hash << 7 ^ str.charAt(i);\n\t\t}\n\n\t\treturn hash;\n\t}", "public void testLong() throws Exception {\n String string = reverse(\"The quick brown fox jumps over the lazy dog.\");\n CharIndex...
[ "0.615359", "0.5973202", "0.5964701", "0.5921665", "0.58975816", "0.58717227", "0.5867967", "0.58353865", "0.58170617", "0.5800327", "0.57861614", "0.5769249", "0.57627565", "0.5756244", "0.5745868", "0.57437205", "0.5741829", "0.5711219", "0.5677698", "0.5676986", "0.565499"...
0.0
-1
Cria um objeto da classe TermometroEncapsulado
public static void main(String[] args) { TermometroEncapsulado termometro = new TermometroEncapsulado(); // Configura a temp inicial para temp atual, temp min e max registrada // Como está encapsulado, preciso usar os setters termometro.setTemperaturaAtual(23.0); termome...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FiltroMicrorregiao() {\r\n }", "public abstract Anuncio creaAnuncioTematico();", "public Transportista() {\n }", "public TCubico(){}", "public Troco() {\n }", "public void crearAutomovil(){\r\n automovil = new Vehiculo();\r\n automovil.setMarca(\"BMW\");\r\n automovil.se...
[ "0.6630868", "0.65236586", "0.65233487", "0.6497984", "0.6496531", "0.6412264", "0.6371087", "0.63669735", "0.63304615", "0.6326777", "0.6312596", "0.63032013", "0.6302295", "0.6302211", "0.6292853", "0.62888", "0.62609625", "0.62492156", "0.61775553", "0.61665815", "0.616653...
0.0
-1
Take the system offline. When the system is offline, no user operations can be performed with the exception of a system shutdown.
public AdminOfflineResponse adminOffline(AdminOfflineRequest request) throws GPUdbException { AdminOfflineResponse actualResponse_ = new AdminOfflineResponse(); submitRequest("/admin/offline", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setOffline() {\n if (this.shutdownButton.isSelected() == false) {\n this.online = false;\n this.statusLed.setStatus(\"warning\");\n this.setOutputPower(0);\n this.channel.updateOutput();\n }\n }", "public void goOffline()\n\t{\n\t\tif (isOn...
[ "0.7137324", "0.7044586", "0.690709", "0.68646014", "0.68233514", "0.6720039", "0.66193175", "0.6558834", "0.6514557", "0.6493195", "0.6459503", "0.63688153", "0.6366879", "0.63639593", "0.634338", "0.6229067", "0.61402524", "0.61048484", "0.6099216", "0.5988671", "0.5977283"...
0.6772392
5
Take the system offline. When the system is offline, no user operations can be performed with the exception of a system shutdown.
public AdminOfflineResponse adminOffline(boolean offline, Map<String, String> options) throws GPUdbException { AdminOfflineRequest actualRequest_ = new AdminOfflineRequest(offline, options); AdminOfflineResponse actualResponse_ = new AdminOfflineResponse(); submitRequest("/admin/offline", actual...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setOffline() {\n if (this.shutdownButton.isSelected() == false) {\n this.online = false;\n this.statusLed.setStatus(\"warning\");\n this.setOutputPower(0);\n this.channel.updateOutput();\n }\n }", "public void goOffline()\n\t{\n\t\tif (isOn...
[ "0.7137324", "0.7044586", "0.690709", "0.68646014", "0.68233514", "0.6772392", "0.6720039", "0.66193175", "0.6558834", "0.6514557", "0.6493195", "0.6459503", "0.63688153", "0.6366879", "0.634338", "0.6229067", "0.61402524", "0.61048484", "0.6099216", "0.5988671", "0.5977283",...
0.63639593
14
Exits the database server application.
public AdminShutdownResponse adminShutdown(AdminShutdownRequest request) throws GPUdbException { AdminShutdownResponse actualResponse_ = new AdminShutdownResponse(); submitRequest("/admin/shutdown", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void exitServer()\n\t{\n\t\tSystem.exit(1);\n\t}", "public void shutdown() {\r\n \t\tMsg.debugMsg(DB_REGULAR.class, \"Database is shutting down\");\r\n \t\tStatement st;\r\n \t\ttry {\r\n \t\t\tst = conn.createStatement();\r\n \t\t\tst.execute(\"SHUTDOWN\");\r\n \t\t} catch (SQLException e) {\r\n \t\t\te....
[ "0.6960293", "0.6956239", "0.67916197", "0.6791173", "0.6708261", "0.66425925", "0.66361284", "0.6536922", "0.65241677", "0.6515671", "0.65026116", "0.64376885", "0.64174837", "0.6408722", "0.6397314", "0.6389727", "0.638942", "0.6310961", "0.62751037", "0.62751037", "0.62737...
0.0
-1
Exits the database server application.
public AdminShutdownResponse adminShutdown(String exitType, String authorization, Map<String, String> options) throws GPUdbException { AdminShutdownRequest actualRequest_ = new AdminShutdownRequest(exitType, authorization, options); AdminShutdownResponse actualResponse_ = new AdminShutdownResponse(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void exitServer()\n\t{\n\t\tSystem.exit(1);\n\t}", "public void shutdown() {\r\n \t\tMsg.debugMsg(DB_REGULAR.class, \"Database is shutting down\");\r\n \t\tStatement st;\r\n \t\ttry {\r\n \t\t\tst = conn.createStatement();\r\n \t\t\tst.execute(\"SHUTDOWN\");\r\n \t\t} catch (SQLException e) {\r\n \t\t\te....
[ "0.6960293", "0.6956239", "0.67916197", "0.6791173", "0.6708261", "0.66425925", "0.66361284", "0.6536922", "0.65241677", "0.6515671", "0.65026116", "0.64376885", "0.64174837", "0.6408722", "0.6397314", "0.6389727", "0.638942", "0.6310961", "0.62751037", "0.62751037", "0.62737...
0.0
-1
Verify database is in a consistent state. When inconsistencies or errors are found, the verified_ok flag in the response is set to false and the list of errors found is provided in the error_list.
public AdminVerifyDbResponse adminVerifyDb(AdminVerifyDbRequest request) throws GPUdbException { AdminVerifyDbResponse actualResponse_ = new AdminVerifyDbResponse(); submitRequest("/admin/verifydb", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean verify();", "public void checkConsistency(List inconsistencies);", "public abstract boolean verify();", "public AdminVerifyDbResponse adminVerifyDb(Map<String, String> options) throws GPUdbException {\n AdminVerifyDbRequest actualRequest_ = new AdminVerifyDbRequest(options);\n Ad...
[ "0.5653011", "0.54916817", "0.5457542", "0.5404905", "0.53966284", "0.5365695", "0.53655475", "0.51522106", "0.51342165", "0.5054969", "0.50006235", "0.49968195", "0.4984771", "0.49754027", "0.49514732", "0.49449906", "0.49281567", "0.4915323", "0.49127832", "0.4889473", "0.4...
0.5686271
0
Verify database is in a consistent state. When inconsistencies or errors are found, the verified_ok flag in the response is set to false and the list of errors found is provided in the error_list.
public AdminVerifyDbResponse adminVerifyDb(Map<String, String> options) throws GPUdbException { AdminVerifyDbRequest actualRequest_ = new AdminVerifyDbRequest(options); AdminVerifyDbResponse actualResponse_ = new AdminVerifyDbResponse(); submitRequest("/admin/verifydb", actualRequest_, actualRes...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AdminVerifyDbResponse adminVerifyDb(AdminVerifyDbRequest request) throws GPUdbException {\n AdminVerifyDbResponse actualResponse_ = new AdminVerifyDbResponse();\n submitRequest(\"/admin/verifydb\", request, actualResponse_, false);\n return actualResponse_;\n }", "public boolean ve...
[ "0.5686271", "0.5653011", "0.54916817", "0.5457542", "0.53966284", "0.5365695", "0.53655475", "0.51522106", "0.51342165", "0.5054969", "0.50006235", "0.49968195", "0.4984771", "0.49754027", "0.49514732", "0.49449906", "0.49281567", "0.4915323", "0.49127832", "0.4889473", "0.4...
0.5404905
4
This endpoint runs the kmeans algorithm a heuristic algorithm that attempts to do kmeans clustering. An ideal kmeans clustering algorithm selects k points such that the sum of the mean squared distances of each member of the set to the nearest of the k points is minimized. The kmeans algorithm however does not necessar...
public AggregateKMeansResponse aggregateKMeans(AggregateKMeansRequest request) throws GPUdbException { AggregateKMeansResponse actualResponse_ = new AggregateKMeansResponse(); submitRequest("/aggregate/kmeans", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args)\r\n\t{\n\t\tList<Location> locations = new ArrayList<Location>();\r\n\t\tlocations.add(new Location(150, 981));\r\n\t\tlocations.add(new Location(136, 0));\r\n\t\tlocations.add(new Location(158, 88));\r\n\t\tlocations.add(new Location(330, 60));\r\n\t\tlocations.add(new Locat...
[ "0.652909", "0.6428615", "0.6300359", "0.61292124", "0.609026", "0.5995944", "0.5990615", "0.5879953", "0.5868367", "0.58560073", "0.57911193", "0.57191795", "0.5718159", "0.5700042", "0.5633211", "0.55821127", "0.5502318", "0.54986984", "0.5494347", "0.5493067", "0.545212", ...
0.46640623
100
This endpoint runs the kmeans algorithm a heuristic algorithm that attempts to do kmeans clustering. An ideal kmeans clustering algorithm selects k points such that the sum of the mean squared distances of each member of the set to the nearest of the k points is minimized. The kmeans algorithm however does not necessar...
public AggregateKMeansResponse aggregateKMeans(String tableName, List<String> columnNames, int k, double tolerance, Map<String, String> options) throws GPUdbException { AggregateKMeansRequest actualRequest_ = new AggregateKMeansRequest(tableName, columnNames, k, tolerance, options); AggregateKMeansRespo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args)\r\n\t{\n\t\tList<Location> locations = new ArrayList<Location>();\r\n\t\tlocations.add(new Location(150, 981));\r\n\t\tlocations.add(new Location(136, 0));\r\n\t\tlocations.add(new Location(158, 88));\r\n\t\tlocations.add(new Location(330, 60));\r\n\t\tlocations.add(new Locat...
[ "0.65283954", "0.6430013", "0.6301807", "0.61290735", "0.6091073", "0.5997253", "0.5992205", "0.58791226", "0.58671266", "0.5855851", "0.57894343", "0.5722388", "0.57202065", "0.56983817", "0.5634972", "0.5580879", "0.55028224", "0.5499135", "0.5494617", "0.54938525", "0.5452...
0.4807601
75
Calculates and returns the minimum and maximum values of a particular column in a table.
public AggregateMinMaxResponse aggregateMinMax(AggregateMinMaxRequest request) throws GPUdbException { AggregateMinMaxResponse actualResponse_ = new AggregateMinMaxResponse(); submitRequest("/aggregate/minmax", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getMinColumn();", "public Double getMaxValueInColumn(String columnName){\r\n\t\t\r\n\t\treturn daoEjercicio.getMaxValueInColumn(columnName);\r\n\t\t\r\n\t}", "public int getMaxColumn();", "public AggregateMinMaxResponse aggregateMinMax(String tableName, String columnName, Map<String, String> optio...
[ "0.67389446", "0.61195487", "0.6114629", "0.57450664", "0.5676068", "0.5545834", "0.55404663", "0.55027753", "0.55027753", "0.5472442", "0.54267514", "0.54115736", "0.5409375", "0.53636813", "0.53597057", "0.5352337", "0.52909696", "0.52909696", "0.5234828", "0.52317166", "0....
0.4897065
50
Calculates and returns the minimum and maximum values of a particular column in a table.
public AggregateMinMaxResponse aggregateMinMax(String tableName, String columnName, Map<String, String> options) throws GPUdbException { AggregateMinMaxRequest actualRequest_ = new AggregateMinMaxRequest(tableName, columnName, options); AggregateMinMaxResponse actualResponse_ = new AggregateMinMaxRespon...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getMinColumn();", "public Double getMaxValueInColumn(String columnName){\r\n\t\t\r\n\t\treturn daoEjercicio.getMaxValueInColumn(columnName);\r\n\t\t\r\n\t}", "public int getMaxColumn();", "private void populateMinMaxTime()\n {\n final ColumnHolder columnHolder = index.getColumnHolder(ColumnHol...
[ "0.67389446", "0.61195487", "0.6114629", "0.5676068", "0.5545834", "0.55404663", "0.55027753", "0.55027753", "0.5472442", "0.54267514", "0.54115736", "0.5409375", "0.53636813", "0.53597057", "0.5352337", "0.52909696", "0.52909696", "0.5234828", "0.52317166", "0.5180102", "0.5...
0.57450664
3
Updates (adds or changes) metadata for tables. The metadata key and values must both be strings. This is an easy way to annotate whole tables rather than single records within tables. Some examples of metadata are owner of the table, table creation timestamp etc.
public AlterTableMetadataResponse alterTableMetadata(AlterTableMetadataRequest request) throws GPUdbException { AlterTableMetadataResponse actualResponse_ = new AlterTableMetadataResponse(); submitRequest("/alter/table/metadata", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "<K, C> void declareTable(TableMetadata<K, C> metadata);", "public AlterTableMetadataResponse alterTableMetadata(List<String> tableNames, Map<String, String> metadataMap, Map<String, String> options) throws GPUdbException {\n AlterTableMetadataRequest actualRequest_ = new AlterTableMetadataRequest(tableNam...
[ "0.6587066", "0.6423105", "0.64067113", "0.62549543", "0.62132674", "0.616098", "0.6016946", "0.5972006", "0.59698135", "0.59527594", "0.5888887", "0.5887246", "0.58243877", "0.5797794", "0.5720576", "0.5683197", "0.56644243", "0.5654581", "0.561668", "0.56013596", "0.559392"...
0.70918536
0
Updates (adds or changes) metadata for tables. The metadata key and values must both be strings. This is an easy way to annotate whole tables rather than single records within tables. Some examples of metadata are owner of the table, table creation timestamp etc.
public AlterTableMetadataResponse alterTableMetadata(List<String> tableNames, Map<String, String> metadataMap, Map<String, String> options) throws GPUdbException { AlterTableMetadataRequest actualRequest_ = new AlterTableMetadataRequest(tableNames, metadataMap, options); AlterTableMetadataResponse actua...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AlterTableMetadataResponse alterTableMetadata(AlterTableMetadataRequest request) throws GPUdbException {\n AlterTableMetadataResponse actualResponse_ = new AlterTableMetadataResponse();\n submitRequest(\"/alter/table/metadata\", request, actualResponse_, false);\n return actualResponse_...
[ "0.7090766", "0.6584375", "0.6407535", "0.6253085", "0.6215429", "0.6157469", "0.6018742", "0.59720045", "0.5966004", "0.5954509", "0.5890431", "0.5888926", "0.5821971", "0.58004886", "0.57220876", "0.56823874", "0.5663753", "0.56547165", "0.56187725", "0.5601447", "0.5595594...
0.64221835
2
Clears (drops) one or all tables in the database cluster. The operation is synchronous meaning that the table will be cleared before the function returns. The response payload returns the status of the operation along with the name of the table that was cleared.
public ClearTableResponse clearTable(ClearTableRequest request) throws GPUdbException { ClearTableResponse actualResponse_ = new ClearTableResponse(); submitRequest("/clear/table", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ClearTableResponse clearTable(String tableName, String authorization, Map<String, String> options) throws GPUdbException {\n ClearTableRequest actualRequest_ = new ClearTableRequest(tableName, authorization, options);\n ClearTableResponse actualResponse_ = new ClearTableResponse();\n su...
[ "0.67739147", "0.64785016", "0.6467571", "0.63862234", "0.6376031", "0.6352168", "0.6349244", "0.62469596", "0.6232843", "0.61872035", "0.60977507", "0.6072299", "0.60633814", "0.60338825", "0.60078096", "0.5984888", "0.591742", "0.59104383", "0.5905824", "0.59008485", "0.588...
0.73870057
0
Clears (drops) one or all tables in the database cluster. The operation is synchronous meaning that the table will be cleared before the function returns. The response payload returns the status of the operation along with the name of the table that was cleared.
public ClearTableResponse clearTable(String tableName, String authorization, Map<String, String> options) throws GPUdbException { ClearTableRequest actualRequest_ = new ClearTableRequest(tableName, authorization, options); ClearTableResponse actualResponse_ = new ClearTableResponse(); submitRequ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ClearTableResponse clearTable(ClearTableRequest request) throws GPUdbException {\n ClearTableResponse actualResponse_ = new ClearTableResponse();\n submitRequest(\"/clear/table\", request, actualResponse_, false);\n return actualResponse_;\n }", "public void clearTables()\n\t{\n\t\...
[ "0.73870057", "0.64785016", "0.6467571", "0.63862234", "0.6376031", "0.6352168", "0.6349244", "0.62469596", "0.6232843", "0.61872035", "0.60977507", "0.6072299", "0.60633814", "0.60338825", "0.60078096", "0.5984888", "0.591742", "0.59104383", "0.5905824", "0.59008485", "0.588...
0.67739147
1
Clears or cancels the trigger identified by the specified handle. The output returns the handle of the trigger cleared as well as indicating success or failure of the trigger deactivation.
public ClearTriggerResponse clearTrigger(ClearTriggerRequest request) throws GPUdbException { ClearTriggerResponse actualResponse_ = new ClearTriggerResponse(); submitRequest("/clear/trigger", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Builder clearHandle() {\n bitField0_ = (bitField0_ & ~0x00000002);\n handle_ = 0;\n onChanged();\n return this;\n }", "public Builder clearHandle() {\n bitField0_ = (bitField0_ & ~0x00000001);\n handle_ = 0;\n onChanged();\n return this;\n ...
[ "0.606916", "0.6046965", "0.6046965", "0.5616502", "0.52028453", "0.5108615", "0.5058137", "0.5043886", "0.50264996", "0.48716763", "0.48517293", "0.48189193", "0.47356766", "0.47343338", "0.47339675", "0.4722419", "0.46195033", "0.46106607", "0.4593605", "0.45836893", "0.456...
0.60610884
1
Clears or cancels the trigger identified by the specified handle. The output returns the handle of the trigger cleared as well as indicating success or failure of the trigger deactivation.
public ClearTriggerResponse clearTrigger(String triggerId, Map<String, String> options) throws GPUdbException { ClearTriggerRequest actualRequest_ = new ClearTriggerRequest(triggerId, options); ClearTriggerResponse actualResponse_ = new ClearTriggerResponse(); submitRequest("/clear/trigger", act...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Builder clearHandle() {\n bitField0_ = (bitField0_ & ~0x00000002);\n handle_ = 0;\n onChanged();\n return this;\n }", "public ClearTriggerResponse clearTrigger(ClearTriggerRequest request) throws GPUdbException {\n ClearTriggerResponse actualResponse_ = new ClearTri...
[ "0.60719675", "0.6059072", "0.6049814", "0.6049814", "0.52038515", "0.5110589", "0.50607884", "0.50453347", "0.5027549", "0.48740032", "0.48539802", "0.48206112", "0.47372603", "0.47357133", "0.47354662", "0.47249547", "0.4619289", "0.46126193", "0.4595313", "0.45872098", "0....
0.56145585
4
Creates a table that is the result of a SQL JOIN. For details see: join concept documentation.
public CreateJoinTableResponse createJoinTable(CreateJoinTableRequest request) throws GPUdbException { CreateJoinTableResponse actualResponse_ = new CreateJoinTableResponse(); submitRequest("/create/jointable", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "FromTableJoin createFromTableJoin();", "Join createJoin();", "protected void createSubQueryJoinTable() throws ODataApplicationException {\r\n try {\r\n final List<JPAOnConditionItem> left = association\r\n .getJoinTable()\r\n .getJoinColumns(); // Team -->\r\n final List<JPAOnCon...
[ "0.7885453", "0.6794531", "0.6426907", "0.6410609", "0.6054355", "0.59897876", "0.59736866", "0.59617424", "0.5936326", "0.59053403", "0.5898009", "0.58924735", "0.5853223", "0.57170475", "0.57010126", "0.5675409", "0.5656619", "0.5650129", "0.5650107", "0.5641839", "0.564166...
0.6830948
1
Creates an instance (proc) of the userdefined function (UDF) specified by the given command, options, and files, and makes it available for execution. For details on UDFs, see: UserDefined Functions
public CreateProcResponse createProc(CreateProcRequest request) throws GPUdbException { CreateProcResponse actualResponse_ = new CreateProcResponse(); submitRequest("/create/proc", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Object executeRVMFunction(String uid_func, IValue[] posArgs, Map<String,IValue> kwArgs){\n\t\t// Assumption here is that the function called is not a nested one and does not use global variables\n\t\tFunction func = functionStore[functionMap.get(uid_func)];\n\t\treturn executeRVMFunction(func, posArgs, kwArgs);\n\...
[ "0.55520785", "0.54573", "0.5243005", "0.5220597", "0.4991785", "0.49780193", "0.4960765", "0.49580792", "0.4929435", "0.48982698", "0.4796806", "0.47497916", "0.47070163", "0.4703113", "0.4671856", "0.46669257", "0.464111", "0.46379992", "0.46150652", "0.46124333", "0.456314...
0.0
-1
Creates a new projection of an existing table. A projection represents a subset of the columns (potentially including derived columns) of a table.
public CreateProjectionResponse createProjection(CreateProjectionRequest request) throws GPUdbException { CreateProjectionResponse actualResponse_ = new CreateProjectionResponse(); submitRequest("/create/projection", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "QueryProjection<R> getProjection();", "public static TempTable projection(Table table, ArrayList<FieldDefinition> fieldList) throws ProcessorException {\n\t\ttry {\n\t\t\t\n\t\t\t// Remove unwanted fields\n\t\t\tint numFields = fieldList.size();\n\t\t\tTempTable result = new TempTable(table.getDatabase());\n\t\t...
[ "0.6241701", "0.60020244", "0.5824031", "0.55710495", "0.5532449", "0.54755294", "0.54572666", "0.54325116", "0.539704", "0.5360099", "0.5347454", "0.53459966", "0.53425723", "0.528978", "0.5224821", "0.5217111", "0.51991343", "0.51962584", "0.517516", "0.517224", "0.5138724"...
0.5378794
9
Creates a new role.
public CreateRoleResponse createRole(CreateRoleRequest request) throws GPUdbException { CreateRoleResponse actualResponse_ = new CreateRoleResponse(); submitRequest("/create/role", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ResourceRole createResourceRole();", "@Override\n\tpublic UserRole createNew()\n\t{\n\t\treturn new UserRole();\n\t}", "TDLRoleEntity create(TDLRoleEntity tldrole);", "public void addRole(String username, String role) throws UserNotExistsException ;", "@Override\n public void createNewRole(final String ...
[ "0.7133639", "0.710821", "0.7100776", "0.70197153", "0.69617224", "0.6724931", "0.66875476", "0.6666349", "0.66526765", "0.6651947", "0.660904", "0.65620345", "0.65369505", "0.65327567", "0.64948577", "0.64948577", "0.6468678", "0.63804907", "0.63703465", "0.63692474", "0.634...
0.7477064
0
Creates a new role.
public CreateRoleResponse createRole(String name, Map<String, String> options) throws GPUdbException { CreateRoleRequest actualRequest_ = new CreateRoleRequest(name, options); CreateRoleResponse actualResponse_ = new CreateRoleResponse(); submitRequest("/create/role", actualRequest_, actualRespo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public CreateRoleResponse createRole(CreateRoleRequest request) throws GPUdbException {\n CreateRoleResponse actualResponse_ = new CreateRoleResponse();\n submitRequest(\"/create/role\", request, actualResponse_, false);\n return actualResponse_;\n }", "ResourceRole createResourceRole();"...
[ "0.7477064", "0.7133639", "0.710821", "0.7100776", "0.70197153", "0.69617224", "0.6724931", "0.66875476", "0.66526765", "0.6651947", "0.660904", "0.65620345", "0.65369505", "0.65327567", "0.64948577", "0.64948577", "0.6468678", "0.63804907", "0.63703465", "0.63692474", "0.634...
0.6666349
8
Creates a table that is the concatenation of one or more existing tables. It is equivalent to the SQL UNION ALL operator. NoncharN 'string' and 'bytes' column types cannot be included in a union, neither can columns with the property 'store_only'.
public CreateUnionResponse createUnion(CreateUnionRequest request) throws GPUdbException { CreateUnionResponse actualResponse_ = new CreateUnionResponse(); submitRequest("/create/union", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Table noCommonJoin(String name, Table t1, Table t2) {\n {\n String[] names = new String[t1.colSize() + t2.colSize()];\n String[] types = new String[t1.colSize() + t2.colSize()];\n\n System.arraycopy(t1.getColNames(), 0, names, 0, t1.colSize());\n System.arraycopy(...
[ "0.57422537", "0.5681221", "0.5644066", "0.55456984", "0.55338997", "0.55131006", "0.54889405", "0.5417562", "0.5360047", "0.53556263", "0.5326744", "0.53148377", "0.5313099", "0.5296369", "0.5276249", "0.5239298", "0.52322483", "0.52268773", "0.5223403", "0.52059186", "0.518...
0.0
-1
Creates a new external user (a user whose credentials are managed by an external LDAP).
public CreateUserExternalResponse createUserExternal(CreateUserExternalRequest request) throws GPUdbException { CreateUserExternalResponse actualResponse_ = new CreateUserExternalResponse(); submitRequest("/create/user/external", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void createNewUser(final User unmanagedUser) {\n Realm realm = (mRealm == null) ? Realm.getDefaultInstance() : mRealm;\n //create by administrator\n realm.executeTransaction(new Realm.Transaction() {\n @Override\n public void execute(Realm realm) {\n ...
[ "0.6881282", "0.67393064", "0.6689995", "0.6650946", "0.6647062", "0.65558773", "0.65051675", "0.64601153", "0.6421201", "0.64191335", "0.64035743", "0.64023733", "0.6392211", "0.63713026", "0.63414055", "0.63374245", "0.6280078", "0.62758356", "0.6257256", "0.6235377", "0.62...
0.7509696
0
Creates a new external user (a user whose credentials are managed by an external LDAP).
public CreateUserExternalResponse createUserExternal(String name, Map<String, String> options) throws GPUdbException { CreateUserExternalRequest actualRequest_ = new CreateUserExternalRequest(name, options); CreateUserExternalResponse actualResponse_ = new CreateUserExternalResponse(); submitReq...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public CreateUserExternalResponse createUserExternal(CreateUserExternalRequest request) throws GPUdbException {\n CreateUserExternalResponse actualResponse_ = new CreateUserExternalResponse();\n submitRequest(\"/create/user/external\", request, actualResponse_, false);\n return actualResponse_...
[ "0.7509696", "0.6881282", "0.67393064", "0.6689995", "0.6650946", "0.6647062", "0.65051675", "0.64601153", "0.6421201", "0.64191335", "0.64035743", "0.64023733", "0.6392211", "0.63713026", "0.63414055", "0.63374245", "0.6280078", "0.62758356", "0.6257256", "0.6235377", "0.621...
0.65558773
6
Creates a new internal user (a user whose credentials are managed by the database system).
public CreateUserInternalResponse createUserInternal(CreateUserInternalRequest request) throws GPUdbException { CreateUserInternalResponse actualResponse_ = new CreateUserInternalResponse(); submitRequest("/create/user/internal", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int newUser(String username, String password, Time creationTime);", "@Override\n\tpublic IUser creatUser() {\n\t\treturn new SqlServerUser();\n\t}", "Utilizator createUser(String username, String password, String nume,\n\t\t\tString prenume, String tip, String aux);", "public IUser CreateUser() {\n\t\tIUser...
[ "0.7457961", "0.7388198", "0.73874605", "0.7241501", "0.71765935", "0.716606", "0.7149426", "0.713553", "0.7121723", "0.7112458", "0.70734346", "0.7049827", "0.69297886", "0.69297725", "0.6898288", "0.6871441", "0.68485254", "0.68422073", "0.6823701", "0.6775364", "0.67374134...
0.73046327
3
Creates a new internal user (a user whose credentials are managed by the database system).
public CreateUserInternalResponse createUserInternal(String name, String password, Map<String, String> options) throws GPUdbException { CreateUserInternalRequest actualRequest_ = new CreateUserInternalRequest(name, password, options); CreateUserInternalResponse actualResponse_ = new CreateUserInternalRe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int newUser(String username, String password, Time creationTime);", "@Override\n\tpublic IUser creatUser() {\n\t\treturn new SqlServerUser();\n\t}", "Utilizator createUser(String username, String password, String nume,\n\t\t\tString prenume, String tip, String aux);", "public CreateUserInternalResponse creat...
[ "0.7457961", "0.7388198", "0.73874605", "0.73046327", "0.7241501", "0.71765935", "0.716606", "0.7149426", "0.713553", "0.7121723", "0.7112458", "0.7049827", "0.69297886", "0.69297725", "0.6898288", "0.6871441", "0.68485254", "0.68422073", "0.6823701", "0.6775364", "0.67374134...
0.70734346
11
Deletes a proc. Any currently running instances of the proc will be killed.
public DeleteProcResponse deleteProc(DeleteProcRequest request) throws GPUdbException { DeleteProcResponse actualResponse_ = new DeleteProcResponse(); submitRequest("/delete/proc", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public DeleteProcResponse deleteProc(String procName, Map<String, String> options) throws GPUdbException {\n DeleteProcRequest actualRequest_ = new DeleteProcRequest(procName, options);\n DeleteProcResponse actualResponse_ = new DeleteProcResponse();\n submitRequest(\"/delete/proc\", actualReq...
[ "0.66092783", "0.6371656", "0.60826206", "0.6006031", "0.5565628", "0.5462919", "0.54472697", "0.5430233", "0.54119265", "0.53923786", "0.5339357", "0.5327687", "0.5313981", "0.53115726", "0.53079236", "0.52863073", "0.52774644", "0.5276856", "0.5269182", "0.5231733", "0.5230...
0.70254207
0
Deletes a proc. Any currently running instances of the proc will be killed.
public DeleteProcResponse deleteProc(String procName, Map<String, String> options) throws GPUdbException { DeleteProcRequest actualRequest_ = new DeleteProcRequest(procName, options); DeleteProcResponse actualResponse_ = new DeleteProcResponse(); submitRequest("/delete/proc", actualRequest_, act...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public DeleteProcResponse deleteProc(DeleteProcRequest request) throws GPUdbException {\n DeleteProcResponse actualResponse_ = new DeleteProcResponse();\n submitRequest(\"/delete/proc\", request, actualResponse_, false);\n return actualResponse_;\n }", "void kill(long procid);", "public...
[ "0.70254207", "0.6371656", "0.60826206", "0.6006031", "0.5565628", "0.5462919", "0.54472697", "0.5430233", "0.54119265", "0.53923786", "0.5339357", "0.5327687", "0.5313981", "0.53115726", "0.53079236", "0.52863073", "0.52774644", "0.5276856", "0.5269182", "0.5231733", "0.5230...
0.66092783
1
Deletes an existing role.
public DeleteRoleResponse deleteRole(DeleteRoleRequest request) throws GPUdbException { DeleteRoleResponse actualResponse_ = new DeleteRoleResponse(); submitRequest("/delete/role", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void deleteRole(Role role) {\n\t\tgetHibernateTemplate().delete(role);\r\n\t}", "void deleteRole(UserRole role) {\n\t\tuserRoleRepository.delete(role.getId());\n\t}", "public void delRole( String role )\n {\n if ( this.roles != null )\n {\n this.roles.remove( r...
[ "0.78018844", "0.7699577", "0.75962865", "0.7516469", "0.7501005", "0.74694824", "0.7453181", "0.73355937", "0.72136754", "0.71697265", "0.71616286", "0.71616286", "0.70951456", "0.70038015", "0.7003146", "0.6996362", "0.6941467", "0.69273806", "0.6910364", "0.69088805", "0.6...
0.7925964
0
Deletes an existing role.
public DeleteRoleResponse deleteRole(String name, Map<String, String> options) throws GPUdbException { DeleteRoleRequest actualRequest_ = new DeleteRoleRequest(name, options); DeleteRoleResponse actualResponse_ = new DeleteRoleResponse(); submitRequest("/delete/role", actualRequest_, actualRespo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public DeleteRoleResponse deleteRole(DeleteRoleRequest request) throws GPUdbException {\n DeleteRoleResponse actualResponse_ = new DeleteRoleResponse();\n submitRequest(\"/delete/role\", request, actualResponse_, false);\n return actualResponse_;\n }", "@Override\r\n\tpublic void deleteRo...
[ "0.7925964", "0.78018844", "0.7699577", "0.75962865", "0.7516469", "0.7501005", "0.74694824", "0.7453181", "0.73355937", "0.72136754", "0.71697265", "0.71616286", "0.71616286", "0.70951456", "0.70038015", "0.7003146", "0.6996362", "0.6941467", "0.69273806", "0.6910364", "0.69...
0.68639314
22
Deletes an existing user.
public DeleteUserResponse deleteUser(DeleteUserRequest request) throws GPUdbException { DeleteUserResponse actualResponse_ = new DeleteUserResponse(); submitRequest("/delete/user", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void deleteUser(User userToDelete) throws Exception;", "public void deleteUser(User user) {\n\t\tdelete(user);\r\n\t}", "void deleteUserById(Long id);", "public void deleteUser(User user) {\n update(\"DELETE FROM user WHERE id = ?\",\n new Object[] {user.getId()});\n }", "pu...
[ "0.77059376", "0.7684148", "0.7668088", "0.7587115", "0.7565009", "0.7561611", "0.755137", "0.7548753", "0.75481045", "0.75429046", "0.7542709", "0.7540529", "0.753833", "0.75360316", "0.75054574", "0.74972236", "0.74677455", "0.7458433", "0.7447916", "0.7446287", "0.7436894"...
0.7416985
24
Deletes an existing user.
public DeleteUserResponse deleteUser(String name, Map<String, String> options) throws GPUdbException { DeleteUserRequest actualRequest_ = new DeleteUserRequest(name, options); DeleteUserResponse actualResponse_ = new DeleteUserResponse(); submitRequest("/delete/user", actualRequest_, actualRespo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void deleteUser(User userToDelete) throws Exception;", "public void deleteUser(User user) {\n\t\tdelete(user);\r\n\t}", "void deleteUserById(Long id);", "public void deleteUser(User user) {\n update(\"DELETE FROM user WHERE id = ?\",\n new Object[] {user.getId()});\n }", "pu...
[ "0.77059376", "0.7684148", "0.7668088", "0.7587115", "0.7565009", "0.7561611", "0.755137", "0.7548753", "0.75481045", "0.75429046", "0.7542709", "0.7540529", "0.753833", "0.75360316", "0.75054574", "0.74972236", "0.74677455", "0.7458433", "0.7447916", "0.7446287", "0.7436894"...
0.0
-1
Executes a proc. This endpoint is asynchronous and does not wait for the proc to complete before returning.
public ExecuteProcResponse executeProc(ExecuteProcRequest request) throws GPUdbException { ExecuteProcResponse actualResponse_ = new ExecuteProcResponse(); submitRequest("/execute/proc", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "<T> AsyncResult<T> startProcess(Callable<T> task, AsyncCallback<T> callback);", "<T> AsyncResult<T> startProcess(Callable<T> task);", "@Override\n\t@Transactional\n\tpublic void callProc(String proc, List<String> paras) {\n\t\tSession session = getHibernateTemplate().getSessionFactory().openSession();\n\t\t// ...
[ "0.6175894", "0.6039223", "0.5608472", "0.5517181", "0.5487477", "0.5478426", "0.54202473", "0.54113925", "0.5366388", "0.53575194", "0.5333738", "0.5326532", "0.5290004", "0.5287963", "0.5287702", "0.5274965", "0.5263065", "0.52357006", "0.51887196", "0.5183471", "0.51789635...
0.64318407
0
Filters objects matching all points of the given track (works only on track type data). It allows users to specify a particular track to find all other points in the table that fall within specified rangesspatial and temporalof all points of the given track. Additionally, the user can specify another track to see if th...
public FilterBySeriesResponse filterBySeries(FilterBySeriesRequest request) throws GPUdbException { FilterBySeriesResponse actualResponse_ = new FilterBySeriesResponse(); submitRequest("/filter/byseries", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Measurement> findMeasurementsByTimeRange(Date fromDate, Date toDate) {\n return entityManager.createQuery(\"SELECT m from \" +\n \"Measurement m where m.date >= :fromDate and m.date <= :toDate\", Measurement.class)\n .setParameter(\"fromDate\", fromDate)\n ...
[ "0.52351207", "0.49520648", "0.49225038", "0.48878023", "0.4788133", "0.47840288", "0.4671202", "0.4623134", "0.46226248", "0.459414", "0.45899218", "0.45800206", "0.4572939", "0.45459163", "0.4544028", "0.4531046", "0.45224684", "0.4515771", "0.4509309", "0.44902077", "0.448...
0.0
-1
Filters objects matching all points of the given track (works only on track type data). It allows users to specify a particular track to find all other points in the table that fall within specified rangesspatial and temporalof all points of the given track. Additionally, the user can specify another track to see if th...
public FilterBySeriesResponse filterBySeries(String tableName, String viewName, String trackId, List<String> targetTrackIds, Map<String, String> options) throws GPUdbException { FilterBySeriesRequest actualRequest_ = new FilterBySeriesRequest(tableName, viewName, trackId, targetTrackIds, options); Filte...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Measurement> findMeasurementsByTimeRange(Date fromDate, Date toDate) {\n return entityManager.createQuery(\"SELECT m from \" +\n \"Measurement m where m.date >= :fromDate and m.date <= :toDate\", Measurement.class)\n .setParameter(\"fromDate\", fromDate)\n ...
[ "0.5234684", "0.4952911", "0.4921858", "0.48858348", "0.47853073", "0.4668542", "0.46226975", "0.46222347", "0.45935678", "0.45878696", "0.458056", "0.45740578", "0.45445034", "0.45417476", "0.45290846", "0.45207238", "0.4513934", "0.45084247", "0.44914588", "0.44831437", "0....
0.47881073
4
Calculates which objects from a table has a particular value for a particular column. The input parameters provide a way to specify either a String or a Double valued column and a desired value for the column on which the filter is performed. The operation is synchronous, meaning that a response will not be returned un...
public FilterByValueResponse filterByValue(FilterByValueRequest request) throws GPUdbException { FilterByValueResponse actualResponse_ = new FilterByValueResponse(); submitRequest("/filter/byvalue", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FilterByValueResponse filterByValue(String tableName, String viewName, boolean isString, double value, String valueStr, String columnName, Map<String, String> options) throws GPUdbException {\n FilterByValueRequest actualRequest_ = new FilterByValueRequest(tableName, viewName, isString, value, valueS...
[ "0.54151654", "0.53444487", "0.49339274", "0.482827", "0.48089364", "0.47969416", "0.47643846", "0.4755715", "0.47195786", "0.47162145", "0.47077373", "0.46518746", "0.46167734", "0.46071583", "0.45804745", "0.45793882", "0.4515424", "0.45108905", "0.4504017", "0.45030499", "...
0.507589
2
Calculates which objects from a table has a particular value for a particular column. The input parameters provide a way to specify either a String or a Double valued column and a desired value for the column on which the filter is performed. The operation is synchronous, meaning that a response will not be returned un...
public FilterByValueResponse filterByValue(String tableName, String viewName, boolean isString, double value, String valueStr, String columnName, Map<String, String> options) throws GPUdbException { FilterByValueRequest actualRequest_ = new FilterByValueRequest(tableName, viewName, isString, value, valueStr, co...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void testFilterOnAggregationColumn() throws Exception {\n \t\tccName = new String[] { \"cc1\", \"cc2\", \"cc3\" };\n \t\tccExpr = new String[] { \"row.COL0+row.COL1\",\n \t\t\t\t\"Total.runningSum(row.cc1,row.COL0==0,0)\",\n \t\t\t\t\"Total.runningSum(row.cc1,row.COL0>0,0)\" };\n \n \t\tfor (int i = 0; i < ...
[ "0.53444487", "0.507589", "0.49339274", "0.482827", "0.48089364", "0.47969416", "0.47643846", "0.4755715", "0.47195786", "0.47162145", "0.47077373", "0.46518746", "0.46167734", "0.46071583", "0.45804745", "0.45793882", "0.4515424", "0.45108905", "0.4504017", "0.45030499", "0....
0.54151654
0
For a given table, retrieves the values of the given columns within a given range. It returns maps of column name to the vector of values for each supported data type (double, float, long, int and string). This operation supports pagination feature, i.e. values that are retrieved are those associated with the indices b...
public RawGetRecordsByColumnResponse getRecordsByColumnRaw(GetRecordsByColumnRequest request) throws GPUdbException { RawGetRecordsByColumnResponse actualResponse_ = new RawGetRecordsByColumnResponse(); submitRequest("/get/records/bycolumn", request, actualResponse_, false); return actualRespons...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Get<K, C> withColumnRange(C startColumn, C endColumn, int limit);", "Get<K, C> withColumnRange(C startColumn,\n boolean startColumnInclusive,\n C endColumn,\n boolean endColumnInclusive,\n int limi...
[ "0.5732672", "0.5635571", "0.55681163", "0.51585865", "0.51455265", "0.5038277", "0.50062627", "0.50049394", "0.4960266", "0.49522105", "0.49196285", "0.4917015", "0.48501128", "0.4845661", "0.48440766", "0.48268077", "0.4812383", "0.47903833", "0.4763964", "0.47438934", "0.4...
0.4855984
12
For a given table, retrieves the values of the given columns within a given range. It returns maps of column name to the vector of values for each supported data type (double, float, long, int and string). This operation supports pagination feature, i.e. values that are retrieved are those associated with the indices b...
public GetRecordsByColumnResponse getRecordsByColumn(GetRecordsByColumnRequest request) throws GPUdbException { if ( !request.getEncoding().equals( "binary" )) throw new GPUdbException( "This method only supports binary encoding." ); RawGetRecordsByColumnResponse actualResponse_ = new RawGe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Get<K, C> withColumnRange(C startColumn, C endColumn, int limit);", "Get<K, C> withColumnRange(C startColumn,\n boolean startColumnInclusive,\n C endColumn,\n boolean endColumnInclusive,\n int limi...
[ "0.57324266", "0.5635166", "0.55678904", "0.5158855", "0.51423424", "0.5037109", "0.5005871", "0.50036013", "0.49601254", "0.49507293", "0.49180478", "0.49148366", "0.48560187", "0.4849195", "0.48446706", "0.4843477", "0.48264384", "0.48115784", "0.4790719", "0.4764393", "0.4...
0.46437958
24
Grants a systemlevel permission to a user or role.
public GrantPermissionSystemResponse grantPermissionSystem(GrantPermissionSystemRequest request) throws GPUdbException { GrantPermissionSystemResponse actualResponse_ = new GrantPermissionSystemResponse(); submitRequest("/grant/permission/system", request, actualResponse_, false); return actualR...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void grantAdminOnIndividualToSystemUser(Individual i, SystemUser user);", "@Test(dependsOnMethods = \"testRoleAdd\", groups = \"role\", priority = 1)\n public void testRoleGrantPermission() throws ExecutionException, InterruptedException {\n this.authDisabledAuthClient\n .roleGrantPermission(ro...
[ "0.7000365", "0.59101325", "0.586449", "0.5786038", "0.564631", "0.5631921", "0.5619662", "0.5504023", "0.5468869", "0.5385709", "0.5376446", "0.5351213", "0.53469026", "0.53373563", "0.53299046", "0.5325347", "0.5324954", "0.5300362", "0.52917325", "0.52895164", "0.5281453",...
0.64439744
1
Grants a systemlevel permission to a user or role.
public GrantPermissionSystemResponse grantPermissionSystem(String name, String permission, Map<String, String> options) throws GPUdbException { GrantPermissionSystemRequest actualRequest_ = new GrantPermissionSystemRequest(name, permission, options); GrantPermissionSystemResponse actualResponse_ = new G...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void grantAdminOnIndividualToSystemUser(Individual i, SystemUser user);", "public GrantPermissionSystemResponse grantPermissionSystem(GrantPermissionSystemRequest request) throws GPUdbException {\n GrantPermissionSystemResponse actualResponse_ = new GrantPermissionSystemResponse();\n submitR...
[ "0.7000365", "0.64439744", "0.59101325", "0.5786038", "0.564631", "0.5631921", "0.5619662", "0.5504023", "0.5468869", "0.5385709", "0.5376446", "0.5351213", "0.53469026", "0.53373563", "0.53299046", "0.5325347", "0.5324954", "0.5300362", "0.52917325", "0.52895164", "0.5281453...
0.586449
3
Grants a tablelevel permission to a user or role.
public GrantPermissionTableResponse grantPermissionTable(GrantPermissionTableRequest request) throws GPUdbException { GrantPermissionTableResponse actualResponse_ = new GrantPermissionTableResponse(); submitRequest("/grant/permission/table", request, actualResponse_, false); return actualRespons...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void grantAdminOnIndividualToSystemUser(Individual i, SystemUser user);", "protected void grantPrivileges() {\n if (!PRIVILEGES_FEATURE_ENABLED.contains(dbType)) {\n return;\n }\n\n // The case where all are to be granted on the default schemas.\n if (!(updateFhirSch...
[ "0.56306934", "0.5565354", "0.5491463", "0.5461215", "0.5423845", "0.53027135", "0.5210587", "0.51806647", "0.51361084", "0.50486827", "0.50237733", "0.5014636", "0.5000765", "0.4958094", "0.4955476", "0.4934473", "0.49234784", "0.4918136", "0.49132958", "0.4868854", "0.48609...
0.5767975
0
Grants a tablelevel permission to a user or role.
public GrantPermissionTableResponse grantPermissionTable(String name, String permission, String tableName, String filterExpression, Map<String, String> options) throws GPUdbException { GrantPermissionTableRequest actualRequest_ = new GrantPermissionTableRequest(name, permission, tableName, filterExpression, opt...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public GrantPermissionTableResponse grantPermissionTable(GrantPermissionTableRequest request) throws GPUdbException {\n GrantPermissionTableResponse actualResponse_ = new GrantPermissionTableResponse();\n submitRequest(\"/grant/permission/table\", request, actualResponse_, false);\n return act...
[ "0.5767975", "0.56306934", "0.5565354", "0.5491463", "0.5461215", "0.5423845", "0.5210587", "0.51806647", "0.51361084", "0.50486827", "0.50237733", "0.5014636", "0.5000765", "0.4958094", "0.4955476", "0.4934473", "0.49234784", "0.4918136", "0.49132958", "0.4868854", "0.486092...
0.53027135
6
Grants membership in a role to a user or role.
public GrantRoleResponse grantRole(GrantRoleRequest request) throws GPUdbException { GrantRoleResponse actualResponse_ = new GrantRoleResponse(); submitRequest("/grant/role", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasRole();", "@Test(dependsOnMethods = \"testRoleAdd\", groups = \"role\", priority = 1)\n public void testRoleGrantPermission() throws ExecutionException, InterruptedException {\n this.authDisabledAuthClient\n .roleGrantPermission(rootRole, rootRolekeyRangeBegin, rootkeyRangeEnd,\n ...
[ "0.6404846", "0.6227043", "0.62260604", "0.61801875", "0.61591625", "0.6089815", "0.6034564", "0.59705555", "0.59195846", "0.5859952", "0.5814662", "0.5736948", "0.5718554", "0.57069725", "0.5675069", "0.5648498", "0.5640451", "0.56355846", "0.5632578", "0.5632578", "0.560304...
0.5079732
93
Checks the existence of a proc with the given name.
public HasProcResponse hasProc(HasProcRequest request) throws GPUdbException { HasProcResponse actualResponse_ = new HasProcResponse(); submitRequest("/has/proc", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasProcedure(String procedureName) throws Exception;", "public HasProcResponse hasProc(String procName, Map<String, String> options) throws GPUdbException {\n HasProcRequest actualRequest_ = new HasProcRequest(procName, options);\n HasProcResponse actualResponse_ = new HasProcResponse();\n ...
[ "0.79082996", "0.6941644", "0.65984803", "0.6067599", "0.6027771", "0.5869049", "0.5859453", "0.5834725", "0.5767791", "0.5730782", "0.57125473", "0.5690937", "0.5684757", "0.5669646", "0.56615406", "0.56325454", "0.56137735", "0.5599155", "0.5505548", "0.53939694", "0.539216...
0.64253753
3
Checks the existence of a proc with the given name.
public HasProcResponse hasProc(String procName, Map<String, String> options) throws GPUdbException { HasProcRequest actualRequest_ = new HasProcRequest(procName, options); HasProcResponse actualResponse_ = new HasProcResponse(); submitRequest("/has/proc", actualRequest_, actualResponse_, false);...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasProcedure(String procedureName) throws Exception;", "boolean hasProcedureNames();", "public HasProcResponse hasProc(HasProcRequest request) throws GPUdbException {\n HasProcResponse actualResponse_ = new HasProcResponse();\n submitRequest(\"/has/proc\", request, actualResponse_, false)...
[ "0.79082996", "0.65984803", "0.64253753", "0.6067599", "0.6027771", "0.5869049", "0.5859453", "0.5834725", "0.5767791", "0.5730782", "0.57125473", "0.5690937", "0.5684757", "0.5669646", "0.56615406", "0.56325454", "0.56137735", "0.5599155", "0.5505548", "0.53939694", "0.53921...
0.6941644
1
Checks for the existence of a table with the given name.
public HasTableResponse hasTable(HasTableRequest request) throws GPUdbException { HasTableResponse actualResponse_ = new HasTableResponse(); submitRequest("/has/table", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean table_exists(String table_name);", "public static boolean tableIsExist(String name) throws Exception {\n init();\n TableName tableName = TableName.valueOf(name);\n boolean flag = admin.tableExists(tableName);\n close();\n return flag;\n }", "private boolean ...
[ "0.7990203", "0.79363775", "0.77897185", "0.7623444", "0.74957997", "0.74624455", "0.7400743", "0.73315364", "0.7202418", "0.7199996", "0.7108825", "0.70996547", "0.70572335", "0.70517", "0.7022819", "0.69696844", "0.69575983", "0.69402516", "0.6932222", "0.6885275", "0.68388...
0.63706344
29
Checks for the existence of a table with the given name.
public HasTableResponse hasTable(String tableName, Map<String, String> options) throws GPUdbException { HasTableRequest actualRequest_ = new HasTableRequest(tableName, options); HasTableResponse actualResponse_ = new HasTableResponse(); submitRequest("/has/table", actualRequest_, actualResponse_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean table_exists(String table_name);", "public static boolean tableIsExist(String name) throws Exception {\n init();\n TableName tableName = TableName.valueOf(name);\n boolean flag = admin.tableExists(tableName);\n close();\n return flag;\n }", "private boolean ...
[ "0.7990203", "0.79363775", "0.77897185", "0.7623444", "0.74957997", "0.74624455", "0.7400743", "0.73315364", "0.7202418", "0.7199996", "0.7108825", "0.70996547", "0.70572335", "0.70517", "0.7022819", "0.69696844", "0.69575983", "0.69402516", "0.6932222", "0.6885275", "0.68388...
0.61652756
32
Check for the existence of a type.
public HasTypeResponse hasType(HasTypeRequest request) throws GPUdbException { HasTypeResponse actualResponse_ = new HasTypeResponse(); submitRequest("/has/type", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boo...
[ "0.81739265", "0.81739265", "0.81739265", "0.81739265", "0.81739265", "0.81739265", "0.81739265", "0.81739265", "0.81739265", "0.81739265", "0.81739265", "0.81739265", "0.81739265", "0.81739265", "0.81739265", "0.81739265", "0.81739265", "0.81739265", "0.81739265", "0.81739265"...
0.6517477
45
Generates a specified number of random records and adds them to the given table. There is an optional parameter that allows the user to customize the ranges of the column values. It also allows the user to specify linear profiles for some or all columns in which case linear values are generated rather than random ones....
public InsertRecordsRandomResponse insertRecordsRandom(InsertRecordsRandomRequest request) throws GPUdbException { InsertRecordsRandomResponse actualResponse_ = new InsertRecordsRandomResponse(); submitRequest("/insert/records/random", request, actualResponse_, false); return actualResponse_; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void createTables(int n, int upperBound) {\r\n\t\tRandom randomGenerator = new Random();\r\n\t\tint [][] randomArray = new int [n][n];\r\n\t\r\n\t\tfor (int i = 0; i < n; i++) {\r\n\t\t\tfor (int j = 0; j < n; j++) {\r\n\t\t\t\tif (i == j) {\r\n\t\t\t\t\trandomArray[i][j] = 0;\r\n\t\t\t\t} else if...
[ "0.55436265", "0.5451209", "0.53448194", "0.5314561", "0.52354133", "0.52292013", "0.5212282", "0.50846326", "0.50354356", "0.50307626", "0.49821848", "0.49520016", "0.494397", "0.49438494", "0.49329388", "0.4901358", "0.48868468", "0.48674345", "0.48651937", "0.4855954", "0....
0.6116561
0
Adds a symbol or icon (i.e. an image) to represent data points when data is rendered visually. Users must provide the symbol identifier (string), a format (currently supported: 'svg' and 'svg_path'), the data for the symbol, and any additional optional parameter (e.g. color). To have a symbol used for rendering create ...
public InsertSymbolResponse insertSymbol(InsertSymbolRequest request) throws GPUdbException { InsertSymbolResponse actualResponse_ = new InsertSymbolResponse(); submitRequest("/insert/symbol", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface ISymbol {\n\n\tBufferedImage getImage();\n\n\tvoid setImage(String icon);\n\n\tvoid setValue(int value);\n\n\tint getValue();\n}", "protected void addTacticalSymbols()\r\n {\n RenderableLayer layer = new RenderableLayer();\r\n layer.setName(\"Tactical Symbols\");\...
[ "0.62083", "0.59512126", "0.5775953", "0.5747916", "0.56288725", "0.55319965", "0.5459038", "0.5449158", "0.5269143", "0.5265533", "0.51891035", "0.5166383", "0.51569253", "0.5132566", "0.5119229", "0.51155514", "0.5069886", "0.5046791", "0.4989928", "0.49791583", "0.49701345...
0.5326613
8
Kills a running proc instance.
public KillProcResponse killProc(KillProcRequest request) throws GPUdbException { KillProcResponse actualResponse_ = new KillProcResponse(); submitRequest("/kill/proc", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void kill(long procid);", "public void kill();", "public void kill();", "public final void kill() {\n doKill();\n }", "@DELETE\n @ApiOperation(\"Forcefully stops a process\")\n @javax.ws.rs.Path(\"/{id}\")\n @WithTimer\n public void kill(@ApiParam @PathParam(\"id\") UUID instanceId) {\n ...
[ "0.78652304", "0.70465654", "0.70465654", "0.69710106", "0.6873967", "0.67987525", "0.67323947", "0.6667108", "0.6564794", "0.6552479", "0.65388316", "0.639262", "0.634378", "0.62975484", "0.6239727", "0.6228993", "0.61607844", "0.6148038", "0.61348015", "0.61077523", "0.6097...
0.6498637
11
Kills a running proc instance.
public KillProcResponse killProc(String runId, Map<String, String> options) throws GPUdbException { KillProcRequest actualRequest_ = new KillProcRequest(runId, options); KillProcResponse actualResponse_ = new KillProcResponse(); submitRequest("/kill/proc", actualRequest_, actualResponse_, false)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void kill(long procid);", "public void kill();", "public void kill();", "public final void kill() {\n doKill();\n }", "@DELETE\n @ApiOperation(\"Forcefully stops a process\")\n @javax.ws.rs.Path(\"/{id}\")\n @WithTimer\n public void kill(@ApiParam @PathParam(\"id\") UUID instanceId) {\n ...
[ "0.78652304", "0.70465654", "0.70465654", "0.69710106", "0.6873967", "0.67987525", "0.67323947", "0.6667108", "0.6564794", "0.6552479", "0.65388316", "0.6498637", "0.639262", "0.634378", "0.62975484", "0.6239727", "0.6228993", "0.61607844", "0.6148038", "0.61348015", "0.61077...
0.57251155
48
Revokes a systemlevel permission from a user or role.
public RevokePermissionSystemResponse revokePermissionSystem(RevokePermissionSystemRequest request) throws GPUdbException { RevokePermissionSystemResponse actualResponse_ = new RevokePermissionSystemResponse(); submitRequest("/revoke/permission/system", request, actualResponse_, false); return a...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public RevokePermissionSystemResponse revokePermissionSystem(String name, String permission, Map<String, String> options) throws GPUdbException {\n RevokePermissionSystemRequest actualRequest_ = new RevokePermissionSystemRequest(name, permission, options);\n RevokePermissionSystemResponse actualRespo...
[ "0.68788135", "0.6685131", "0.6589349", "0.6560699", "0.645731", "0.63172144", "0.6284462", "0.6131901", "0.6054395", "0.5928337", "0.59233767", "0.59229565", "0.58746934", "0.5807738", "0.58045256", "0.58000106", "0.5773001", "0.5704775", "0.5641189", "0.5641036", "0.5587416...
0.74695617
0
Revokes a systemlevel permission from a user or role.
public RevokePermissionSystemResponse revokePermissionSystem(String name, String permission, Map<String, String> options) throws GPUdbException { RevokePermissionSystemRequest actualRequest_ = new RevokePermissionSystemRequest(name, permission, options); RevokePermissionSystemResponse actualResponse_ = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public RevokePermissionSystemResponse revokePermissionSystem(RevokePermissionSystemRequest request) throws GPUdbException {\n RevokePermissionSystemResponse actualResponse_ = new RevokePermissionSystemResponse();\n submitRequest(\"/revoke/permission/system\", request, actualResponse_, false);\n ...
[ "0.74695617", "0.6685131", "0.6589349", "0.6560699", "0.645731", "0.63172144", "0.6284462", "0.6131901", "0.6054395", "0.5928337", "0.59233767", "0.59229565", "0.58746934", "0.5807738", "0.58045256", "0.58000106", "0.5773001", "0.5704775", "0.5641189", "0.5641036", "0.5587416...
0.68788135
1
Revokes a tablelevel permission from a user or role.
public RevokePermissionTableResponse revokePermissionTable(RevokePermissionTableRequest request) throws GPUdbException { RevokePermissionTableResponse actualResponse_ = new RevokePermissionTableResponse(); submitRequest("/revoke/permission/table", request, actualResponse_, false); return actualR...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public RevokePermissionTableResponse revokePermissionTable(String name, String permission, String tableName, Map<String, String> options) throws GPUdbException {\n RevokePermissionTableRequest actualRequest_ = new RevokePermissionTableRequest(name, permission, tableName, options);\n RevokePermissionT...
[ "0.65073824", "0.63034195", "0.6202743", "0.61666495", "0.6147576", "0.61054677", "0.5973677", "0.59040105", "0.58650655", "0.5792938", "0.57462656", "0.5707786", "0.565", "0.56242687", "0.56081146", "0.5571606", "0.54658884", "0.54442465", "0.54293114", "0.5370701", "0.53584...
0.6860742
0
Revokes a tablelevel permission from a user or role.
public RevokePermissionTableResponse revokePermissionTable(String name, String permission, String tableName, Map<String, String> options) throws GPUdbException { RevokePermissionTableRequest actualRequest_ = new RevokePermissionTableRequest(name, permission, tableName, options); RevokePermissionTableRes...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public RevokePermissionTableResponse revokePermissionTable(RevokePermissionTableRequest request) throws GPUdbException {\n RevokePermissionTableResponse actualResponse_ = new RevokePermissionTableResponse();\n submitRequest(\"/revoke/permission/table\", request, actualResponse_, false);\n retu...
[ "0.6860742", "0.63034195", "0.6202743", "0.61666495", "0.6147576", "0.61054677", "0.5973677", "0.59040105", "0.58650655", "0.5792938", "0.57462656", "0.5707786", "0.565", "0.56242687", "0.56081146", "0.5571606", "0.54658884", "0.54442465", "0.54293114", "0.5370701", "0.535847...
0.65073824
1
Revokes membership in a role from a user or role.
public RevokeRoleResponse revokeRole(RevokeRoleRequest request) throws GPUdbException { RevokeRoleResponse actualResponse_ = new RevokeRoleResponse(); submitRequest("/revoke/role", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void revokeRole(String roleName, User user) throws UserManagementException;", "public void removeRole(String roleName) throws UnsupportedOperationException;", "@Override\n\tpublic void revoke(User subject, Permission permission)\n\t{\n\t\t//TODO figure out how to implement since we're using role based p...
[ "0.73907965", "0.66951925", "0.6592869", "0.65347254", "0.653382", "0.6482568", "0.6337995", "0.62517977", "0.6238532", "0.6218036", "0.62153965", "0.62116545", "0.6130652", "0.61120725", "0.6098708", "0.6094198", "0.6061421", "0.60484755", "0.6047952", "0.60305715", "0.59963...
0.65978116
2
Shows information about a proc.
public ShowProcResponse showProc(ShowProcRequest request) throws GPUdbException { ShowProcResponse actualResponse_ = new ShowProcResponse(); submitRequest("/show/proc", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void p_show_info_program() {\n System.out.println(\"╔══════════════════════════════╗\");\n System.out.println(\"║ SoftCalculator V1.2 ║\");\n System.out.println(\"║ Oscar Javier Cardozo Diaz ║\");\n System.out.println(\"║ 16/04/2021 ║\");\n ...
[ "0.65330976", "0.6326408", "0.6229531", "0.6221855", "0.6094922", "0.6057179", "0.59697765", "0.59662557", "0.59388924", "0.58317775", "0.58145386", "0.5741641", "0.5741641", "0.5654209", "0.564562", "0.5633938", "0.5605732", "0.5592696", "0.5499312", "0.549638", "0.54959697"...
0.7025233
0
Shows security information relating to users and/or roles. If the caller is not a system administrator, only information relating to the caller and their roles is returned.
public ShowSecurityResponse showSecurity(ShowSecurityRequest request) throws GPUdbException { ShowSecurityResponse actualResponse_ = new ShowSecurityResponse(); submitRequest("/show/security", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Path(\"admin_area\")\n @GET\n @View(\"admin_page.jsp\")\n @RolesAllowed(\"admin\")\n public void sayRole(@Context SecurityContext securityContext) {\n\n logger.info(\"AdminRole :: \" + securityContext.isUserInRole(\"AdminRole\"));\n logger.info(\"admin :: \" + securityContext.isUserInRol...
[ "0.6023763", "0.59623015", "0.5757635", "0.55424106", "0.55361867", "0.54337543", "0.542844", "0.54110146", "0.53906715", "0.5351928", "0.5350035", "0.5300452", "0.5288586", "0.5267127", "0.5265061", "0.5262446", "0.525708", "0.5253359", "0.5248268", "0.5215554", "0.52115524"...
0.61724496
0
Shows security information relating to users and/or roles. If the caller is not a system administrator, only information relating to the caller and their roles is returned.
public ShowSecurityResponse showSecurity(List<String> names, Map<String, String> options) throws GPUdbException { ShowSecurityRequest actualRequest_ = new ShowSecurityRequest(names, options); ShowSecurityResponse actualResponse_ = new ShowSecurityResponse(); submitRequest("/show/security", actua...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ShowSecurityResponse showSecurity(ShowSecurityRequest request) throws GPUdbException {\n ShowSecurityResponse actualResponse_ = new ShowSecurityResponse();\n submitRequest(\"/show/security\", request, actualResponse_, false);\n return actualResponse_;\n }", "@Path(\"admin_area\")\n...
[ "0.61724496", "0.6023763", "0.59623015", "0.55424106", "0.55361867", "0.54337543", "0.542844", "0.54110146", "0.53906715", "0.5351928", "0.5350035", "0.5300452", "0.5288586", "0.5267127", "0.5265061", "0.5262446", "0.525708", "0.5253359", "0.5248268", "0.5215554", "0.52115524...
0.5757635
3
Returns server configuration and version related information to the caller. The admin tool uses it to present server related information to the user.
public ShowSystemPropertiesResponse showSystemProperties(ShowSystemPropertiesRequest request) throws GPUdbException { ShowSystemPropertiesResponse actualResponse_ = new ShowSystemPropertiesResponse(); submitRequest("/show/system/properties", request, actualResponse_, false); return actualRespons...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getServerDetails();", "public static List<Object[]> getServerDetails(){\n\t\t\n\t\tString filePath = Holders.getFlatConfig().get(\"statusFile.use\").toString();\n\n\t\treturn getServerDetailsFromCSV(filePath, \"hostname\", \"user\",\"password\");\n\t}", "private String getServerDetails() {\n ...
[ "0.70755666", "0.7050102", "0.6964623", "0.67212886", "0.6697325", "0.6594034", "0.65837944", "0.64689654", "0.64579946", "0.6393907", "0.6383796", "0.62876964", "0.62447894", "0.62373567", "0.619785", "0.6194958", "0.61531776", "0.6131783", "0.60944957", "0.6080584", "0.6080...
0.0
-1
Returns server configuration and version related information to the caller. The admin tool uses it to present server related information to the user.
public ShowSystemPropertiesResponse showSystemProperties(Map<String, String> options) throws GPUdbException { ShowSystemPropertiesRequest actualRequest_ = new ShowSystemPropertiesRequest(options); ShowSystemPropertiesResponse actualResponse_ = new ShowSystemPropertiesResponse(); submitRequest("/...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getServerDetails();", "public static List<Object[]> getServerDetails(){\n\t\t\n\t\tString filePath = Holders.getFlatConfig().get(\"statusFile.use\").toString();\n\n\t\treturn getServerDetailsFromCSV(filePath, \"hostname\", \"user\",\"password\");\n\t}", "private String getServerDetails() {\n ...
[ "0.70755666", "0.7050102", "0.6964623", "0.67212886", "0.6697325", "0.6594034", "0.65837944", "0.64689654", "0.64579946", "0.6393907", "0.6383796", "0.62876964", "0.62447894", "0.62373567", "0.619785", "0.6194958", "0.61531776", "0.6131783", "0.60944957", "0.6080584", "0.6080...
0.0
-1
Provides server configuration and health related status to the caller. The admin tool uses it to present server related information to the user.
public ShowSystemStatusResponse showSystemStatus(ShowSystemStatusRequest request) throws GPUdbException { ShowSystemStatusResponse actualResponse_ = new ShowSystemStatusResponse(); submitRequest("/show/system/status", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void getStatus() {\n\t\ttry {\n\t\t\tint i = 1;\n\t\t\tList<Object[]>serverDetails = ServerStatus.getServerDetails();\n\t\t\tfor (Object[] servers:serverDetails){\n\t\t\t\tServerStatus.verifyServerStatus(i,(String)servers[0], (String)servers[1], (String)servers[2]);\n\t\t\t\ti++;\n\t\t\t}\n\t\t\t\n\...
[ "0.65033966", "0.6388766", "0.6136624", "0.60880727", "0.6080348", "0.59808826", "0.59496915", "0.58884573", "0.5878266", "0.5837793", "0.5832997", "0.5786027", "0.57760894", "0.577477", "0.5736441", "0.57128924", "0.5693972", "0.56865823", "0.5683113", "0.5671153", "0.566570...
0.0
-1
Provides server configuration and health related status to the caller. The admin tool uses it to present server related information to the user.
public ShowSystemStatusResponse showSystemStatus(Map<String, String> options) throws GPUdbException { ShowSystemStatusRequest actualRequest_ = new ShowSystemStatusRequest(options); ShowSystemStatusResponse actualResponse_ = new ShowSystemStatusResponse(); submitRequest("/show/system/status", act...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void getStatus() {\n\t\ttry {\n\t\t\tint i = 1;\n\t\t\tList<Object[]>serverDetails = ServerStatus.getServerDetails();\n\t\t\tfor (Object[] servers:serverDetails){\n\t\t\t\tServerStatus.verifyServerStatus(i,(String)servers[0], (String)servers[1], (String)servers[2]);\n\t\t\t\ti++;\n\t\t\t}\n\t\t\t\n\...
[ "0.65033966", "0.6388766", "0.6136624", "0.60880727", "0.6080348", "0.59808826", "0.59496915", "0.58884573", "0.5878266", "0.5837793", "0.5832997", "0.5786027", "0.57760894", "0.577477", "0.5736441", "0.57128924", "0.5693972", "0.56865823", "0.5683113", "0.5671153", "0.566570...
0.52712286
67
Returns the last 100 database requests along with the request timing and internal job id. The admin tool uses it to present request timing information to the user.
public ShowSystemTimingResponse showSystemTiming(ShowSystemTimingRequest request) throws GPUdbException { ShowSystemTimingResponse actualResponse_ = new ShowSystemTimingResponse(); submitRequest("/show/system/timing", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static long getRequests() {\n return requests;\n }", "long getLastFetchTimeMs();", "public int getBatchDownloadWaitTime()\n {\n return 1000; \n }", "private void viewPendingRequests() {\n\n\t}", "public int getRequests()\n\t{\n\t\tint requests=0;\n\t\tString query=\"se...
[ "0.6010472", "0.55152375", "0.54980797", "0.5445995", "0.53925824", "0.5274115", "0.52588093", "0.5256573", "0.5233699", "0.5233337", "0.5227398", "0.5207003", "0.5204901", "0.5190923", "0.51746196", "0.51650524", "0.51414007", "0.51365685", "0.51299906", "0.50985545", "0.509...
0.0
-1
Returns the last 100 database requests along with the request timing and internal job id. The admin tool uses it to present request timing information to the user.
public ShowSystemTimingResponse showSystemTiming(Map<String, String> options) throws GPUdbException { ShowSystemTimingRequest actualRequest_ = new ShowSystemTimingRequest(options); ShowSystemTimingResponse actualResponse_ = new ShowSystemTimingResponse(); submitRequest("/show/system/timing", act...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static long getRequests() {\n return requests;\n }", "long getLastFetchTimeMs();", "public int getBatchDownloadWaitTime()\n {\n return 1000; \n }", "private void viewPendingRequests() {\n\n\t}", "public int getRequests()\n\t{\n\t\tint requests=0;\n\t\tString query=\"se...
[ "0.6010472", "0.55152375", "0.54980797", "0.5445995", "0.53925824", "0.5274115", "0.52588093", "0.5256573", "0.5233699", "0.5233337", "0.5227398", "0.5207003", "0.5204901", "0.5190923", "0.51746196", "0.51650524", "0.51414007", "0.51365685", "0.51299906", "0.50985545", "0.509...
0.0
-1
Retrieves the user provided metadata for the specified tables.
public ShowTableMetadataResponse showTableMetadata(ShowTableMetadataRequest request) throws GPUdbException { ShowTableMetadataResponse actualResponse_ = new ShowTableMetadataResponse(); submitRequest("/show/table/metadata", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "<K, C> TableMetadata<K, C> getTableMetadata(TableName tableName);", "public ShowTableMetadataResponse showTableMetadata(List<String> tableNames, Map<String, String> options) throws GPUdbException {\n ShowTableMetadataRequest actualRequest_ = new ShowTableMetadataRequest(tableNames, options);\n Show...
[ "0.64158714", "0.6209229", "0.601656", "0.58934593", "0.57758844", "0.5603615", "0.5524146", "0.5335439", "0.52740157", "0.51767653", "0.5175336", "0.5147729", "0.5125018", "0.5118521", "0.51141125", "0.51131123", "0.5107667", "0.51004833", "0.50887954", "0.50763327", "0.5068...
0.5837652
4
Retrieves the user provided metadata for the specified tables.
public ShowTableMetadataResponse showTableMetadata(List<String> tableNames, Map<String, String> options) throws GPUdbException { ShowTableMetadataRequest actualRequest_ = new ShowTableMetadataRequest(tableNames, options); ShowTableMetadataResponse actualResponse_ = new ShowTableMetadataResponse(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "<K, C> TableMetadata<K, C> getTableMetadata(TableName tableName);", "Map<String, Object> getAllMetadata();", "private List<Table> getTables() {\n List<Table> tables = new ArrayList<>();\n\n DatastoreService datastore = DatastoreServiceFactory.getDatastoreService();\n Query query = new Query(\"Table\")...
[ "0.64158714", "0.601656", "0.58934593", "0.5837652", "0.57758844", "0.5603615", "0.5524146", "0.5335439", "0.52740157", "0.51767653", "0.5175336", "0.5147729", "0.5125018", "0.5118521", "0.51141125", "0.51131123", "0.5107667", "0.51004833", "0.50887954", "0.50763327", "0.5068...
0.6209229
1
Gets names of the tables whose type matches the given criteria. Each table has a particular type. This type is made out of the type label, schema of the table, and the semantic type of the table. This function allows a look up of the existing tables based on full or partial type information. The operation is synchronou...
public ShowTablesByTypeResponse showTablesByType(ShowTablesByTypeRequest request) throws GPUdbException { ShowTablesByTypeResponse actualResponse_ = new ShowTablesByTypeResponse(); submitRequest("/show/tables/bytype", request, actualResponse_, false); return actualResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract DataSet getTablesByType(String catalog, String schema,\r\n String pattern, String type)\r\n throws Exception;", "@Override\n\tpublic ResultSet getTables(String catalog, String schemaPattern,\n\t\t\tString tableNamePattern, String[] types) throws SQLException {\n\t\t\n\t\tPrepare...
[ "0.6286592", "0.62529194", "0.59267855", "0.5871607", "0.5580929", "0.55417985", "0.5531622", "0.55273736", "0.5466176", "0.5446969", "0.5432479", "0.54017496", "0.5398554", "0.53925824", "0.53811413", "0.53792274", "0.536307", "0.5358843", "0.5354428", "0.5297518", "0.526459...
0.63792187
0