signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class CPDefinitionLinkUtil { /** * Returns a range of all the cp definition links where CPDefinitionId = & # 63 ; and type = & # 63 ; .
* Useful when paginating results . Returns a maximum of < code > end - start < / code > instances . < code > start < / code > and < code > end < / code > are not primary keys ... | return getPersistence ( ) . findByCPD_T ( CPDefinitionId , type , start , end ) ; |
public class Jsr250Utils { /** * Locates all annotated methods on the type passed in sorted as declared from the type to its super class .
* @ param clazz The type of the class to get methods from .
* @ param annotation The annotation to look for on methods .
* @ param log
* @ return */
private static List < Me... | List < Method > methodsToRun = new ArrayList < Method > ( ) ; while ( clazz != null ) { List < Method > newMethods = getMethodsWithAnnotation ( clazz , annotation , log ) ; for ( Method newMethod : newMethods ) { if ( containsMethod ( newMethod , methodsToRun ) ) { removeMethodByName ( newMethod , methodsToRun ) ; } el... |
public class SortaServiceImpl { /** * A helper function to produce fuzzy match query with 80 % similarity in elasticsearch because
* PorterStem does not work in some cases , e . g . the stemming results for placenta and placental
* are different , therefore would be missed by elasticsearch */
private String stemQue... | StringBuilder stringBuilder = new StringBuilder ( ) ; Set < String > uniqueTerms = Sets . newHashSet ( queryString . toLowerCase ( ) . trim ( ) . split ( NON_WORD_SEPARATOR ) ) ; uniqueTerms . removeAll ( NGramDistanceAlgorithm . STOPWORDSLIST ) ; for ( String word : uniqueTerms ) { if ( StringUtils . isNotEmpty ( word... |
public class QueryCriterionSerializer { /** * serialize the QueryCriterion to a String expression .
* This String expression can be deserialized by the deserialze method back .
* @ param queryCriterion
* the QueryCriterion .
* @ return
* the String expression . */
public static String serialize ( QueryCriteri... | if ( queryCriterion instanceof EqualQueryCriterion ) { EqualQueryCriterion criterion = ( EqualQueryCriterion ) queryCriterion ; return criterion . getMetadataKey ( ) + " equals " + escapeString ( criterion . getCriterion ( ) ) ; } else if ( queryCriterion instanceof NotEqualQueryCriterion ) { NotEqualQueryCriterion cri... |
public class ListNumbers { /** * Creates a list of equally spaced values given the range and the number of
* elements .
* Note that , due to rounding errors in double precision , the difference
* between the elements may not be exactly the same .
* @ param minValue the first value in the list
* @ param maxVal... | if ( size <= 0 ) { throw new IllegalArgumentException ( "Size must be positive (was " + size + " )" ) ; } return new LinearListDoubleFromRange ( size , minValue , maxValue ) ; |
public class GeneratorsNameUtil { /** * Return the default name to register a directive based on it ' s class name The name of the tag is
* the name of the component converted to kebab - case If the component class ends with " Directive " ,
* this part is ignored
* @ param directiveClassName The class name of the... | // Drop " Component " at the end of the class name
directiveClassName = directiveClassName . replaceAll ( "Directive$" , "" ) ; // Convert from CamelCase to kebab - case
return CaseFormat . UPPER_CAMEL . to ( CaseFormat . LOWER_HYPHEN , directiveClassName ) . toLowerCase ( ) ; |
public class X509CRLEntryImpl { /** * get Reason Code from CRL entry .
* @ returns Integer or null , if no such extension
* @ throws IOException on error */
public Integer getReasonCode ( ) throws IOException { } } | Object obj = getExtension ( PKIXExtensions . ReasonCode_Id ) ; if ( obj == null ) return null ; CRLReasonCodeExtension reasonCode = ( CRLReasonCodeExtension ) obj ; return reasonCode . get ( CRLReasonCodeExtension . REASON ) ; |
public class TrainingsImpl { /** * Get information about a specific tag .
* @ param projectId The project this tag belongs to
* @ param tagId The tag id
* @ param getTagOptionalParameter the object representing the optional parameters to be set before calling this API
* @ param serviceCallback the async Service... | return ServiceFuture . fromResponse ( getTagWithServiceResponseAsync ( projectId , tagId , getTagOptionalParameter ) , serviceCallback ) ; |
public class ProtoUtils { /** * Checks whether the exception is an { @ link InvalidProtocolBufferException } thrown because of
* a truncated message .
* @ param e the exception
* @ return whether the exception is an { @ link InvalidProtocolBufferException } thrown because of
* a truncated message . */
public st... | if ( ! ( e instanceof InvalidProtocolBufferException ) ) { return false ; } String truncatedMessage ; try { Method method = InvalidProtocolBufferException . class . getMethod ( "truncatedMessage" ) ; method . setAccessible ( true ) ; truncatedMessage = ( String ) method . invoke ( null ) ; } catch ( NoSuchMethodExcepti... |
public class VdmEditor { /** * Computes and returns the source reference that includes the caret and
* serves as provider for the outline page selection and the editor range
* indication .
* @ return the computed source reference
* @ since 3.0 */
protected INode computeHighlightRangeSourceReference ( ) { } } | ISourceViewer sourceViewer = getSourceViewer ( ) ; if ( sourceViewer == null ) return null ; StyledText styledText = sourceViewer . getTextWidget ( ) ; if ( styledText == null ) return null ; int caret = 0 ; if ( sourceViewer instanceof ITextViewerExtension5 ) { ITextViewerExtension5 extension = ( ITextViewerExtension5... |
public class druidGLexer { /** * $ ANTLR start " LPARAN " */
public final void mLPARAN ( ) throws RecognitionException { } } | try { int _type = LPARAN ; int _channel = DEFAULT_TOKEN_CHANNEL ; // druidG . g : 573:8 : ( ' ( ' )
// druidG . g : 573:11 : ' ( '
{ match ( '(' ) ; } state . type = _type ; state . channel = _channel ; } finally { // do for sure before leaving
} |
public class NamePreservingRunnable { /** * Run the runnable after having renamed the current thread ' s name
* to the new name . When the runnable has completed , set back the
* current thread name back to its origin . */
public void run ( ) { } } | Thread currentThread = Thread . currentThread ( ) ; String oldName = currentThread . getName ( ) ; if ( newName != null ) { setName ( currentThread , newName ) ; } try { runnable . run ( ) ; } finally { setName ( currentThread , oldName ) ; } |
public class HttpUtil { /** * 通过 get 方式请求数据
* @ param url { URL }
* @ param params 在参数过多的时候 , 可能你更喜欢用 Map 来进行保存你的参数
* @ return { URL } 返回的数据 , 类型是 String
* @ throws IOException IO异常 : 给定的 URL 不正确 , 或者其他原因 , 导致服务法法找到
* 或是在向服务器上传数据时 , 当然还有可能在读取服务返回的数据时 */
public static String get ( String url , String params ) ... | return HttpUtil . get ( url , null , params ) ; |
public class BusSupport { /** * Dispatch event to a subscriber , you should not call this method directly .
* @ param event TangramOp1 object */
@ Override public synchronized void dispatch ( @ NonNull Event event ) { } } | String type = event . type ; List < EventHandlerWrapper > eventHandlers = subscribers . get ( type ) ; if ( eventHandlers != null ) { EventHandlerWrapper handler = null ; for ( int i = 0 , size = eventHandlers . size ( ) ; i < size ; i ++ ) { handler = eventHandlers . get ( i ) ; if ( handler . eventHandlerReceiver != ... |
public class AbstractChartBuilder { /** * < p > addSubTitle . < / p >
* @ param chart a { @ link org . jfree . chart . JFreeChart } object .
* @ param subTitle a { @ link java . lang . String } object .
* @ param font a { @ link java . awt . Font } object . */
protected void addSubTitle ( JFreeChart chart , Strin... | if ( StringUtils . isNotEmpty ( subTitle ) ) { TextTitle chartSubTitle = new TextTitle ( subTitle ) ; customizeTitle ( chartSubTitle , font ) ; chart . addSubtitle ( chartSubTitle ) ; } |
public class NaaccrXmlUtils { /** * Returns all the available attributes from the given XML file .
* @ param xmlFile provided data file
* @ return the available attributes in a map , maybe empty but never null */
public static Map < String , String > getAttributesFromXmlFile ( File xmlFile ) { } } | if ( xmlFile == null || ! xmlFile . exists ( ) ) return Collections . emptyMap ( ) ; try ( Reader reader = createReader ( xmlFile ) ) { return getAttributesFromXmlReader ( reader ) ; } catch ( IOException | RuntimeException e ) { return Collections . emptyMap ( ) ; } |
public class PersistentMessageStoreImpl { /** * Feature SIB0112b . ms . 1 */
public List < DataSlice > readDataOnly ( Persistable item ) throws PersistenceException { } } | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "readDataOnly" , "Item=" + item ) ; // Defect 363755
if ( ! _available ) { MessageStoreUnavailableException msue = new MessageStoreUnavailableException ( "Operation not possible as MessageStore is unavailable!" ) ; if... |
public class BalanceAtAllDirtyCheck { /** * < p > Setter for dateBalanceStoreStart . < / p >
* @ param pDateBalanceStoreStart reference */
public final void setDateBalanceStoreStart ( final Date pDateBalanceStoreStart ) { } } | if ( pDateBalanceStoreStart == null ) { this . dateBalanceStoreStart = null ; } else { this . dateBalanceStoreStart = new Date ( pDateBalanceStoreStart . getTime ( ) ) ; } |
public class ParserAdapter { /** * Parse an XML document .
* @ param input An input source for the document .
* @ exception java . io . IOException If there is a problem reading
* the raw content of the document .
* @ exception SAXException If there is a problem
* processing the document .
* @ see # parse (... | if ( parsing ) { throw new SAXException ( "Parser is already in use" ) ; } setupParser ( ) ; parsing = true ; try { parser . parse ( input ) ; } finally { parsing = false ; } parsing = false ; |
public class StoreImpl { /** * / * ( non - Javadoc )
* @ see com . att . env . Store # staticSlot ( java . lang . String ) */
public synchronized StaticSlot staticSlot ( String name ) { } } | name = name == null ? "" : name . trim ( ) ; StaticSlot slot = staticMap . get ( name ) ; if ( slot == null ) { if ( stat % growSize == 0 ) { Object [ ] temp = staticState ; staticState = new Object [ temp . length + growSize ] ; System . arraycopy ( temp , 0 , staticState , 0 , temp . length ) ; } slot = new StaticSlo... |
public class RenamePRequest { /** * < code > optional . alluxio . grpc . file . RenamePOptions options = 3 ; < / code > */
public alluxio . grpc . RenamePOptionsOrBuilder getOptionsOrBuilder ( ) { } } | return options_ == null ? alluxio . grpc . RenamePOptions . getDefaultInstance ( ) : options_ ; |
public class GenericColor { /** * Parses the { @ link GenericColor } given as { @ link String } representation .
* @ param color is the color as { @ link String } .
* @ return the parsed { @ link GenericColor } . */
public static GenericColor valueOf ( String color ) { } } | Objects . requireNonNull ( color , "color" ) ; Color namedColor = Color . fromName ( color ) ; if ( namedColor != null ) { return valueOf ( namedColor ) ; } int length = color . length ( ) ; Throwable cause = null ; try { // " # RRGGBB " / # AARRGGBB
Color hexColor = Color . parseHexString ( color ) ; if ( hexColor != ... |
public class InternalPureXbaseParser { /** * InternalPureXbase . g : 4244:1 : entryRuleXWhileExpression returns [ EObject current = null ] : iv _ ruleXWhileExpression = ruleXWhileExpression EOF ; */
public final EObject entryRuleXWhileExpression ( ) throws RecognitionException { } } | EObject current = null ; EObject iv_ruleXWhileExpression = null ; try { // InternalPureXbase . g : 4244:57 : ( iv _ ruleXWhileExpression = ruleXWhileExpression EOF )
// InternalPureXbase . g : 4245:2 : iv _ ruleXWhileExpression = ruleXWhileExpression EOF
{ if ( state . backtracking == 0 ) { newCompositeNode ( grammarAc... |
public class QRColPivDecompositionHouseholderColumn_DDRM { /** * Sets the initial pivot ordering and compute the F - norm squared for each column */
protected void setupPivotInfo ( ) { } } | for ( int col = 0 ; col < numCols ; col ++ ) { pivots [ col ] = col ; double c [ ] = dataQR [ col ] ; double norm = 0 ; for ( int row = 0 ; row < numRows ; row ++ ) { double element = c [ row ] ; norm += element * element ; } normsCol [ col ] = norm ; } |
public class InterceptorMetaDataHelper { /** * Verify a specified AroundInvoke interceptor method has correct method
* modifiers and signature .
* @ param kind the interceptor kind
* @ param m is the java reflection Method object for the around invoke method .
* @ param ejbClass is true if the interceptor is de... | // Get the modifers for the interceptor method and verify that the
// method is neither final nor static as required by EJB specification .
int mod = m . getModifiers ( ) ; if ( Modifier . isFinal ( mod ) || Modifier . isStatic ( mod ) ) { // CNTR0229E : The { 0 } interceptor method must not be declared as final or sta... |
public class PatternBox { /** * Finds two Protein that appear together in a Complex .
* @ return the pattern */
public static Pattern bindsTo ( ) { } } | Pattern p = new Pattern ( ProteinReference . class , "first PR" ) ; p . add ( erToPE ( ) , "first PR" , "first simple PE" ) ; p . add ( linkToComplex ( ) , "first simple PE" , "Complex" ) ; p . add ( new Type ( Complex . class ) , "Complex" ) ; p . add ( linkToSpecific ( ) , "Complex" , "second simple PE" ) ; p . add (... |
public class RotateChannelCredentialsRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( RotateChannelCredentialsRequest rotateChannelCredentialsRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( rotateChannelCredentialsRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( rotateChannelCredentialsRequest . getId ( ) , ID_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON... |
public class GCMRegistrar { /** * Checks whether the device was successfully registered in the server side ,
* as set by { @ link # setRegisteredOnServer ( Context , boolean ) } .
* < p > To avoid the scenario where the device sends the registration to the
* server but the server loses it , this flag has an expir... | final SharedPreferences prefs = getGCMPreferences ( context ) ; boolean isRegistered = prefs . getBoolean ( PROPERTY_ON_SERVER , false ) ; Log . v ( TAG , "Is registered on server: " + isRegistered ) ; if ( isRegistered ) { // checks if the information is not stale
long expirationTime = prefs . getLong ( PROPERTY_ON_SE... |
public class PreferenceFragment { /** * Returns , whether the neutral button of the example dialog should be shown , or not .
* @ return True , if the neutral button should be shown , false otherwise */
private boolean shouldNeutralButtonBeShown ( ) { } } | SharedPreferences sharedPreferences = PreferenceManager . getDefaultSharedPreferences ( getActivity ( ) ) ; String key = getString ( R . string . show_neutral_button_preference_key ) ; boolean defaultValue = getResources ( ) . getBoolean ( R . bool . show_neutral_button_preference_default_value ) ; return sharedPrefere... |
public class PartitionedFileSourceBase { /** * Gobblin calls the { @ link Source # getWorkunits ( SourceState ) } method after creating a { @ link Source } object with a
* blank constructor , so any custom initialization of the object needs to be done here . */
protected void init ( SourceState state ) { } } | retriever . init ( state ) ; try { initFileSystemHelper ( state ) ; } catch ( FileBasedHelperException e ) { Throwables . propagate ( e ) ; } AvroFsHelper fsHelper = ( AvroFsHelper ) this . fsHelper ; this . fs = fsHelper . getFileSystem ( ) ; this . sourceState = state ; this . lowWaterMark = getLowWaterMark ( state .... |
public class ClauseParser { /** * Constructs complex types values from the JSONObjects that represent them . Turns all Numbers
* into BigDecimal for easier comparison . All fields and parameters must be run through this
* method .
* @ param value
* @ return null if value is a JSONObject , but not a complex type... | if ( value == null ) { return null ; } if ( value instanceof Double ) { return new BigDecimal ( ( Double ) value ) ; } else if ( value instanceof Long ) { return new BigDecimal ( ( Long ) value ) ; } else if ( value instanceof Integer ) { return new BigDecimal ( ( Integer ) value ) ; } else if ( value instanceof Float ... |
public class JavacParser { /** * Report a syntax error using the given DiagnosticPosition object and
* arguments , unless one was already reported at the same position . */
private void reportSyntaxError ( JCDiagnostic . DiagnosticPosition diagPos , String key , Object ... args ) { } } | int pos = diagPos . getPreferredPosition ( ) ; if ( pos > S . errPos ( ) || pos == Position . NOPOS ) { if ( token . kind == EOF ) { error ( diagPos , "premature.eof" ) ; } else { error ( diagPos , key , args ) ; } } S . errPos ( pos ) ; if ( token . pos == errorPos ) nextToken ( ) ; // guarantee progress
errorPos = to... |
public class QueryNode { /** * Dumps this QueryNode and its child nodes to a String .
* @ return the query tree as a String .
* @ throws RepositoryException */
public String dump ( ) throws RepositoryException { } } | StringBuilder tmp = new StringBuilder ( ) ; QueryTreeDump . dump ( this , tmp ) ; return tmp . toString ( ) ; |
public class BoxApiCollaboration { /** * A request that adds a { @ link com . box . androidsdk . content . models . BoxUser user } or { @ link com . box . androidsdk . content . models . BoxGroup group } as a collaborator to a file .
* @ param fileId id of the file to be collaborated .
* @ param role role of the co... | return new BoxRequestsShare . AddCollaboration ( getCollaborationsUrl ( ) , BoxFile . createFromId ( fileId ) , role , collaborator , mSession ) ; |
public class CorporationApi { /** * Get corporation structures ( asynchronously ) Get a list of corporation
* structures . This route & # 39 ; s version includes the changes to structures
* detailed in this blog :
* https : / / www . eveonline . com / article / upwell - 2.0 - structures
* - changes - coming - o... | com . squareup . okhttp . Call call = getCorporationsCorporationIdStructuresValidateBeforeCall ( corporationId , acceptLanguage , datasource , ifNoneMatch , language , page , token , callback ) ; Type localVarReturnType = new TypeToken < List < CorporationStructuresResponse > > ( ) { } . getType ( ) ; apiClient . execu... |
public class FieldDocImpl { /** * A static version of the above . */
static String constantValueExpression ( Object cb ) { } } | if ( cb == null ) return null ; if ( cb instanceof Character ) return sourceForm ( ( ( Character ) cb ) . charValue ( ) ) ; if ( cb instanceof Byte ) return sourceForm ( ( ( Byte ) cb ) . byteValue ( ) ) ; if ( cb instanceof String ) return sourceForm ( ( String ) cb ) ; if ( cb instanceof Double ) return sourceForm ( ... |
public class LockFile { /** * Opens ( constructs ) this object ' s { @ link # raf RandomAccessFile } . < p >
* @ throws UnexpectedFileNotFoundException if a
* < tt > FileNotFoundException < / tt > is thrown in reponse to
* constructing the < tt > RandomAccessFile < / tt > object .
* @ throws FileSecurityExcepti... | try { raf = new RandomAccessFile ( file , "rw" ) ; } catch ( SecurityException ex ) { throw new FileSecurityException ( this , "openRAF" , ex ) ; } catch ( FileNotFoundException ex ) { throw new UnexpectedFileNotFoundException ( this , "openRAF" , ex ) ; } |
public class DateRangePicker { /** * Adds a date range to the choice list .
* @ param range Date range item
* @ param isCustom If true , range is a custom item . In this case , if another matching custom
* item exists , it will not be added .
* @ return combo box item that was added ( or found if duplicate cust... | Dateitem item ; if ( isCustom ) { item = findMatchingItem ( range ) ; if ( item != null ) { return item ; } } item = new Dateitem ( ) ; item . setLabel ( range . getLabel ( ) ) ; item . setData ( range ) ; addChild ( item , isCustom ? null : customItem ) ; if ( range . isDefault ( ) ) { setSelectedItem ( item ) ; } ret... |
public class KeyVaultClientBaseImpl { /** * Regenerates the specified key value for the given storage account . This operation requires the storage / regeneratekey permission .
* @ param vaultBaseUrl The vault name , for example https : / / myvault . vault . azure . net .
* @ param storageAccountName The name of th... | if ( vaultBaseUrl == null ) { throw new IllegalArgumentException ( "Parameter vaultBaseUrl is required and cannot be null." ) ; } if ( storageAccountName == null ) { throw new IllegalArgumentException ( "Parameter storageAccountName is required and cannot be null." ) ; } if ( this . apiVersion ( ) == null ) { throw new... |
public class Mathlib { /** * Calculates whether or not 2 line - segments intersect .
* @ param c1
* First coordinate of the first line - segment .
* @ param c2
* Second coordinate of the first line - segment .
* @ param c3
* First coordinate of the second line - segment .
* @ param c4
* Second coordinat... | LineSegment ls1 = new LineSegment ( c1 , c2 ) ; LineSegment ls2 = new LineSegment ( c3 , c4 ) ; return ls1 . intersects ( ls2 ) ; |
public class Function { /** * Override this method for bound event handlers if you wish to deal with
* per - handler user data .
* @ return boolean false means stop propagation and prevent default */
public boolean f ( Event e , Object ... arg ) { } } | setArguments ( arg ) ; setEvent ( e ) ; return f ( e ) ; |
public class CnvBnRsToDouble { /** * < p > Convert parameter with using name . < / p >
* @ param pAddParam additional params , e . g . entity class UserRoleTomcat
* to reveal derived columns for its composite ID , or field Enum class
* to reveal Enum value by index .
* @ param pFrom from a bean
* @ param pNam... | return pFrom . getDouble ( pName ) ; |
public class ElemLiteralResult { /** * Get whether or not the passed URL is flagged by
* the " extension - element - prefixes " or " exclude - result - prefixes "
* properties .
* @ see < a href = " http : / / www . w3 . org / TR / xslt # extension - element " > extension - element in XSLT Specification < / a >
... | if ( uri == null || ( null == m_excludeResultPrefixes && null == m_ExtensionElementURIs ) ) return super . containsExcludeResultPrefix ( prefix , uri ) ; if ( prefix . length ( ) == 0 ) prefix = Constants . ATTRVAL_DEFAULT_PREFIX ; // This loop is ok here because this code only runs during
// stylesheet compile time .
... |
public class XMLConverUtil { /** * XML to Object
* @ param < T >
* @ param clazz
* clazz
* @ param xml
* xml
* @ return T */
public static < T > T convertToObject ( Class < T > clazz , String xml ) { } } | return convertToObject ( clazz , new StringReader ( xml ) ) ; |
public class DataTablesDom { /** * Add a custom element
* @ param sStr
* Custom element to add . May not be < code > null < / code > nor empty .
* @ return this */
@ Nonnull public DataTablesDom addCustom ( @ Nonnull @ Nonempty final String sStr ) { } } | ValueEnforcer . notEmpty ( sStr , "Str" ) ; _internalAdd ( sStr ) ; return this ; |
public class TrainingsImpl { /** * Delete a specific project .
* @ param projectId The project id
* @ throws IllegalArgumentException thrown if parameters fail the validation
* @ return the { @ link ServiceResponse } object if successful . */
public Observable < ServiceResponse < Void > > deleteProjectWithService... | if ( projectId == null ) { throw new IllegalArgumentException ( "Parameter projectId is required and cannot be null." ) ; } if ( this . client . apiKey ( ) == null ) { throw new IllegalArgumentException ( "Parameter this.client.apiKey() is required and cannot be null." ) ; } return service . deleteProject ( projectId ,... |
public class GeoPackageCoreConnection { /** * Query for values from the first column
* @ param < T >
* result value type
* @ param sql
* sql statement
* @ param args
* sql arguments
* @ return single column values
* @ since 3.1.0 */
public < T > List < T > querySingleColumnTypedResults ( String sql , St... | @ SuppressWarnings ( "unchecked" ) List < T > result = ( List < T > ) querySingleColumnResults ( sql , args ) ; return result ; |
public class Mapping { /** * Finds an entity given its primary key .
* @ throws RowNotFoundException
* If no such object was found .
* @ throws TooManyRowsException
* If more that one object was returned for the given ID . */
public T findById ( Object id ) throws RowNotFoundException , TooManyRowsException { }... | return findWhere ( eq ( idColumn . getColumnName ( ) , id ) ) . getSingleResult ( ) ; |
public class AbortConfig { /** * The list of abort criteria to define rules to abort the job .
* @ param criteriaList
* The list of abort criteria to define rules to abort the job . */
public void setCriteriaList ( java . util . Collection < AbortCriteria > criteriaList ) { } } | if ( criteriaList == null ) { this . criteriaList = null ; return ; } this . criteriaList = new java . util . ArrayList < AbortCriteria > ( criteriaList ) ; |
public class AngularMomentum { /** * Calculates the I + operator */
public Matrix getIplus ( ) { } } | Matrix Iplus = new Matrix ( size , size ) ; int i , j ; for ( i = 0 ; i < size ; i ++ ) for ( j = 0 ; j < size ; j ++ ) Iplus . matrix [ i ] [ j ] = 0d ; for ( i = 1 ; i < size ; i ++ ) Iplus . matrix [ i - 1 ] [ i ] = Math . sqrt ( J * J + J - ( J - i + 1 ) * ( J - i + 1 ) + ( J - i + 1 ) ) ; return Iplus ; |
public class DBQuery { /** * The field , modulo the given mod argument , is equal to the value
* @ param field The field to compare
* @ param mod The modulo
* @ param value The value to compare to
* @ return the query */
public static Query mod ( String field , Number mod , Number value ) { } } | return new Query ( ) . mod ( field , mod , value ) ; |
public class AtomicShortIntArray { /** * Sets the element at the given index , but only if the previous value was the expected value .
* @ param i the index
* @ param expect the expected value
* @ param update the new value
* @ return true on success */
public boolean compareAndSet ( int i , int expect , int up... | while ( true ) { try { updateLock . lock ( ) ; try { return store . get ( ) . compareAndSet ( i , expect , update ) ; } finally { updateLock . unlock ( ) ; } } catch ( PaletteFullException pfe ) { resizeLock . lock ( ) ; try { if ( store . get ( ) . isPaletteMaxSize ( ) ) { store . set ( new AtomicShortIntDirectBacking... |
public class LimesurveyRC { /** * Update a response .
* @ param surveyId the survey id of the survey you want to update the response
* @ param responseId the response id of the response you want to update
* @ param responseData the response data that contains the fields you want to update
* @ return the json el... | LsApiBody . LsApiParams params = getParamsWithKey ( surveyId ) ; responseData . put ( "id" , String . valueOf ( responseId ) ) ; params . setResponseData ( responseData ) ; return callRC ( new LsApiBody ( "update_response" , params ) ) ; |
public class JolokiaServlet { /** * { @ inheritDoc } */
@ Override public void destroy ( ) { } } | if ( logTracker != null ) { logTracker . close ( ) ; logTracker = null ; } bundleContextGiven = null ; super . destroy ( ) ; |
public class Event { /** * < p > Two events are considered deeply equal if they have same key and exactly same
* parameters lists . < / p >
* < p > Parameters are compared using { @ link Arrays # deepEquals ( Object [ ] , Object [ ] ) } , so be sure
* to have correct implementation of { @ link Object # equals ( O... | return e1 == e2 || ( e1 . key . equals ( e2 . key ) && Arrays . deepEquals ( e1 . params , e2 . params ) ) ; |
public class UserDetailsServiceImpl { /** * This method returns all of the non - system - defined users .
* @ return */
public List < SecurityUserBean > getUsers ( ) { } } | List < SecurityUserBean > users = new ArrayList < SecurityUserBean > ( ) ; for ( DuracloudUserDetails user : this . usersTable . values ( ) ) { SecurityUserBean bean = createUserBean ( user ) ; users . add ( bean ) ; } return users ; |
public class WindowUtils { /** * Creates a { @ link WindowFocusListener } that calls repaint on the given
* { @ link JComponent } when focused gained or focus lost is called . */
private static WindowFocusListener createRepaintWindowListener ( final JComponent component ) { } } | if ( component instanceof WindowFocusListener ) { return ( WindowFocusListener ) component ; } else { return new WindowFocusListener ( ) { public void windowGainedFocus ( WindowEvent e ) { if ( component instanceof WindowFocusListener ) { ( ( WindowFocusListener ) component ) . windowGainedFocus ( e ) ; } component . r... |
public class Configuration { /** * Return time duration in the given time unit . Valid units are encoded in
* properties as suffixes : nanoseconds ( ns ) , microseconds ( us ) , milliseconds
* ( ms ) , seconds ( s ) , minutes ( m ) , hours ( h ) , and days ( d ) .
* @ param name Property name
* @ param defaultV... | String vStr = get ( name ) ; if ( null == vStr ) { return defaultValue ; } else { return getTimeDurationHelper ( name , vStr , unit ) ; } |
public class AmazonS3Client { /** * Sets the ACL for the specified resource in S3 . If only bucketName is
* specified , the ACL will be applied to the bucket , otherwise if bucketName
* and key are specified , the ACL will be applied to the object .
* @ param bucketName
* The name of the bucket containing the s... | if ( originalRequest == null ) originalRequest = new GenericBucketRequest ( bucketName ) ; Request < AmazonWebServiceRequest > request = createRequest ( bucketName , key , originalRequest , HttpMethodName . PUT ) ; if ( bucketName != null && key != null ) { request . addHandlerContext ( HandlerContextKey . OPERATION_NA... |
public class URLDataSource2 { /** * Returns the value of the URL content - type header field */
@ Override public String getContentType ( ) { } } | URLConnection connection = null ; try { connection = url . openConnection ( ) ; } catch ( IOException e ) { } if ( connection == null ) return DEFAULT_CONTENT_TYPE ; return connection . getContentType ( ) ; |
public class OracleNoSQLSchemaManager { /** * ( non - Javadoc )
* @ see
* com . impetus . kundera . configure . schema . api . AbstractSchemaManager # update
* ( java . util . List ) */
@ Override protected void update ( List < TableInfo > tableInfos ) { } } | StatementResult result = null ; String statement = null ; for ( TableInfo tableInfo : tableInfos ) { try { Table table = tableAPI . getTable ( tableInfo . getTableName ( ) ) ; if ( table == null ) { statement = buildCreateDDLQuery ( tableInfo ) ; result = tableAPI . executeSync ( statement ) ; if ( ! result . isSuccess... |
public class VoiceApi { /** * Resume recording a call
* Resume recording the specified call .
* @ param id The connection ID of the call . ( required )
* @ param resumeRecordingBody Request parameters . ( optional )
* @ return ApiSuccessResponse
* @ throws ApiException If fail to call the API , e . g . server... | ApiResponse < ApiSuccessResponse > resp = resumeRecordingWithHttpInfo ( id , resumeRecordingBody ) ; return resp . getData ( ) ; |
public class Log { /** * Write warn messasge on console .
* @ param message
* the message
* @ since 2.3.0 */
public static void warn ( Object ... message ) { } } | StringBuilder builder = new StringBuilder ( APP_WARN ) ; for ( Object object : message ) { builder . append ( object . toString ( ) ) ; } warnStream . println ( builder . toString ( ) ) ; |
public class CommonExpressionExtractor { /** * TODO extract column name and value from expression */
@ Override public Optional < CommonExpressionSegment > extract ( final ParserRuleContext expressionNode , final Map < ParserRuleContext , Integer > parameterMarkerIndexes ) { } } | return Optional . of ( new CommonExpressionSegment ( expressionNode . getStart ( ) . getStartIndex ( ) , expressionNode . getStop ( ) . getStopIndex ( ) ) ) ; |
public class EventStore { /** * A finder for Event objects in the EventStore
* @ param criteria the { @ link org . owasp . appsensor . core . criteria . SearchCriteria } object to search by
* @ param event the { @ link Event } object to match on
* @ return true or false depending on the matching of the search cri... | boolean match = false ; User user = criteria . getUser ( ) ; DetectionPoint detectionPoint = criteria . getDetectionPoint ( ) ; Rule rule = criteria . getRule ( ) ; Collection < String > detectionSystemIds = criteria . getDetectionSystemIds ( ) ; DateTime earliest = DateUtils . fromString ( criteria . getEarliest ( ) )... |
public class JSONNavi { /** * Access to last + 1 the index position .
* this method can only be used in writing mode . */
public JSONNavi < ? > atNext ( ) { } } | if ( failure ) return this ; if ( ! ( current instanceof List ) ) return failure ( "current node is not an Array" , null ) ; @ SuppressWarnings ( "unchecked" ) List < Object > lst = ( ( List < Object > ) current ) ; return at ( lst . size ( ) ) ; |
public class UserResource { /** * Get details for a single user .
* @ param id unique user id
* @ return user domain object */
@ GET @ Path ( "{id}" ) @ RolesAllowed ( { } } | "ROLE_ADMIN" } ) public Response read ( @ PathParam ( "id" ) Long id ) { checkNotNull ( id ) ; return Response . ok ( userService . getById ( id ) ) . build ( ) ; |
public class CpuEventViewer { /** * Helpers */
private void updateObject ( GenericTabItem tab , TraceObject pobj ) { } } | if ( pobj != null && ! pobj . isVisible ( ) ) { // Draw Object
String name = pobj . getName ( ) + " (" + pobj . getId ( ) . toString ( ) + ")" ; NormalLabel nlb = new NormalLabel ( name , tab . getCurrentFont ( ) ) ; ; RectangleLabelFigure nrr = new RectangleLabelFigure ( nlb ) ; Long objectXPos = tab . getXMax ( ) + C... |
public class AbstractHibernateCriteriaBuilder { /** * Creates an " equals " Criterion based on the specified property name and value . Case - sensitive .
* @ param propertyName The property name
* @ param propertyValue The property value
* @ return A Criterion instance */
public org . grails . datastore . mapping... | return eq ( propertyName , propertyValue , Collections . emptyMap ( ) ) ; |
public class IntegrationAccountsInner { /** * Gets the integration account ' s Key Vault keys .
* @ param resourceGroupName The resource group name .
* @ param integrationAccountName The integration account name .
* @ param listKeyVaultKeys The key vault parameters .
* @ throws IllegalArgumentException thrown i... | return listKeyVaultKeysWithServiceResponseAsync ( resourceGroupName , integrationAccountName , listKeyVaultKeys ) . map ( new Func1 < ServiceResponse < List < KeyVaultKeyInner > > , List < KeyVaultKeyInner > > ( ) { @ Override public List < KeyVaultKeyInner > call ( ServiceResponse < List < KeyVaultKeyInner > > respons... |
public class OptionsCertificatePanel { /** * GEN - LAST : event _ deleteButtonActionPerformed */
private void useClientCertificateCheckBoxActionPerformed ( java . awt . event . ActionEvent evt ) { } } | // GEN - FIRST : event _ useClientCertificateCheckBoxActionPerformed
// The enable unsafe SSL renegotiation checkbox is independent of using a client certificate ( although commonly related )
// enableUnsafeSSLRenegotiationCheckBox . setEnabled ( useClientCertificateCheckBox . isSelected ( ) ) ;
// keyStore tab
certifi... |
public class LuceneKey2StringMapper { /** * This method has to perform the inverse transformation of the keys used in the Lucene
* Directory from String to object . So this implementation is strongly coupled to the
* toString method of each key type .
* @ see ChunkCacheKey # toString ( )
* @ see FileCacheKey # ... | if ( key == null ) { throw new IllegalArgumentException ( "Not supporting null keys" ) ; } // ChunkCacheKey : " C | " + fileName + " | " + chunkId + " | " + bufferSize " | " + indexName + " | " + affinitySegmentId ;
// FileCacheKey : " M | " + fileName + " | " + indexName + " | " + affinitySegmentId ;
// FileListCacheK... |
public class RedirectActivity { /** * Show a dialog with a link to the external verification site .
* @ param source the { @ link Source } to verify */
private void showDialog ( @ NonNull final Source source ) { } } | // Caching the source object here because this app makes a lot of them .
mRedirectSource = source ; final SourceRedirect sourceRedirect = source . getRedirect ( ) ; final String redirectUrl = sourceRedirect != null ? sourceRedirect . getUrl ( ) : null ; if ( redirectUrl != null ) { mRedirectDialogController . showDialo... |
public class Page { /** * Create a new page of data from a json blob .
* @ param recordKey key which holds the records
* @ param json json blob
* @ param recordType resource type
* @ param mapper json parser
* @ param < T > record class type
* @ return a page of records of type T */
public static < T > Page... | try { List < T > results = new ArrayList < > ( ) ; JsonNode root = mapper . readTree ( json ) ; JsonNode records = root . get ( recordKey ) ; for ( final JsonNode record : records ) { results . add ( mapper . readValue ( record . toString ( ) , recordType ) ) ; } JsonNode uriNode = root . get ( "uri" ) ; if ( uriNode !... |
public class WSBatchAuthServiceImpl { /** * DS activate */
@ Activate protected void activate ( ComponentContext cc ) { } } | securityServiceRef . activate ( cc ) ; logger . log ( Level . INFO , "BATCH_SECURITY_ENABLED" ) ; |
public class AmazonCloudDirectoryClient { /** * Removes the specified facet from the specified object .
* @ param removeFacetFromObjectRequest
* @ return Result of the RemoveFacetFromObject operation returned by the service .
* @ throws InternalServiceException
* Indicates a problem that must be resolved by Ama... | request = beforeClientExecution ( request ) ; return executeRemoveFacetFromObject ( request ) ; |
public class JavaTokenizer { /** * Read fractional part of hexadecimal floating point number . */
private void scanHexExponentAndSuffix ( int pos ) { } } | if ( reader . ch == 'p' || reader . ch == 'P' ) { reader . putChar ( true ) ; skipIllegalUnderscores ( ) ; if ( reader . ch == '+' || reader . ch == '-' ) { reader . putChar ( true ) ; } skipIllegalUnderscores ( ) ; if ( '0' <= reader . ch && reader . ch <= '9' ) { scanDigits ( pos , 10 ) ; if ( ! allowHexFloats ) { le... |
public class FileIoUtil { /** * Read a file from different sources depending on _ searchOrder .
* Will return the first successfully read file which can be loaded either from custom path , classpath or system path .
* @ param _ fileName file to read
* @ param _ charset charset used for reading
* @ param _ searc... | InputStream stream = openInputStreamForFile ( _fileName , _searchOrder ) ; if ( stream != null ) { return readTextFileFromStream ( stream , _charset , true ) ; } return null ; |
public class EmbeddedNeo4jAssociationQueries { /** * Returns the relationship corresponding to the { @ link AssociationKey } and { @ link RowKey } .
* @ param executionEngine the { @ link GraphDatabaseService } used to run the query
* @ param associationKey represents the association
* @ param rowKey represents a... | Object [ ] queryValues = relationshipValues ( associationKey , rowKey ) ; Result result = executionEngine . execute ( findRelationshipQuery , params ( queryValues ) ) ; return singleResult ( result ) ; |
public class FileInfo { /** * < code > optional . alluxio . grpc . TtlAction ttlAction = 22 ; < / code > */
public alluxio . grpc . TtlAction getTtlAction ( ) { } } | alluxio . grpc . TtlAction result = alluxio . grpc . TtlAction . valueOf ( ttlAction_ ) ; return result == null ? alluxio . grpc . TtlAction . DELETE : result ; |
public class Properties { /** * Replaces the entry for the specified key only if currently
* mapped to the specified value . */
public boolean replace ( K key , V oldValue , V newValue ) { } } | Object curValue = get ( key ) ; if ( ! Objects . equals ( curValue , oldValue ) || ( curValue == null && ! containsKey ( key ) ) ) { return false ; } put ( key , newValue ) ; return true ; |
public class CmsVaadinUtils { /** * Returns the selectable projects container . < p >
* @ param cms the CMS context
* @ param captionPropertyName the name of the property used to store captions
* @ return the projects container */
public static IndexedContainer getProjectsContainer ( CmsObject cms , String captio... | IndexedContainer result = new IndexedContainer ( ) ; result . addContainerProperty ( captionPropertyName , String . class , null ) ; Locale locale = A_CmsUI . get ( ) . getLocale ( ) ; List < CmsProject > projects = getAvailableProjects ( cms ) ; boolean isSingleOu = isSingleOu ( projects ) ; for ( CmsProject project :... |
public class DeploymentResourceSupport { /** * Checks to see if a resource has already been registered for the specified address on the subsystem .
* @ param subsystemName the name of the subsystem
* @ param address the address to check
* @ return { @ code true } if the address exists on the subsystem otherwise {... | final Resource root = deploymentUnit . getAttachment ( DEPLOYMENT_RESOURCE ) ; final PathElement subsystem = PathElement . pathElement ( SUBSYSTEM , subsystemName ) ; return root . hasChild ( subsystem ) && ( address == null || root . getChild ( subsystem ) . hasChild ( address ) ) ; |
public class FessMessages { /** * Add the created action message for the key ' success . update _ crawler _ params ' with parameters .
* < pre >
* message : Updated parameters .
* < / pre >
* @ param property The property name for the message . ( NotNull )
* @ return this . ( NotNull ) */
public FessMessages ... | assertPropertyNotNull ( property ) ; add ( property , new UserMessage ( SUCCESS_update_crawler_params ) ) ; return this ; |
public class GIMDImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
@ Override public void eSet ( int featureID , Object newValue ) { } } | switch ( featureID ) { case AfplibPackage . GIMD__DATA : setDATA ( ( byte [ ] ) newValue ) ; return ; } super . eSet ( featureID , newValue ) ; |
public class SipSession { /** * This sendUnidirectionalRequest ( ) method sends out a request message with no response expected .
* The Request object passed in must be a fully formed Request with all required content , ready to
* be sent .
* @ param request The request to be sent out .
* @ param viaProxy If tr... | initErrorInfo ( ) ; if ( viaProxy == true ) { if ( addProxy ( request ) == false ) { return false ; } } try { parent . getSipProvider ( ) . sendRequest ( request ) ; return true ; } catch ( Exception ex ) { setException ( ex ) ; setErrorMessage ( "Exception: " + ex . getClass ( ) . getName ( ) + ": " + ex . getMessage ... |
public class Quaternion { /** * Set the quaternion with the Euler angles .
* @ param angles the Euler angles .
* @ see < a href = " http : / / en . wikipedia . org / wiki / Euler _ angles " > Euler Angles < / a >
* @ see < a href = " http : / / www . euclideanspace . com / maths / geometry / rotations / conversio... | setEulerAngles ( angles . getAttitude ( ) , angles . getBank ( ) , angles . getHeading ( ) , angles . getSystem ( ) ) ; |
public class ViewDragHelper { /** * Process a touch event received by the parent view . This method will dispatch callback events
* as needed before returning . The parent view ' s onTouchEvent implementation should call this .
* @ param ev The touch event received by the parent view */
public void processTouchEven... | final int action = MotionEventCompat . getActionMasked ( ev ) ; final int actionIndex = MotionEventCompat . getActionIndex ( ev ) ; if ( action == MotionEvent . ACTION_DOWN ) { // Reset things for a new event stream , just in case we didn ' t get
// the whole previous stream .
cancel ( ) ; } if ( mVelocityTracker == nu... |
public class ProtectionContainersInner { /** * Inquires all the protectable item in the given container that can be protected .
* Inquires all the protectable items that are protectable under the given container .
* @ param vaultName The name of the recovery services vault .
* @ param resourceGroupName The name o... | inquireWithServiceResponseAsync ( vaultName , resourceGroupName , fabricName , containerName ) . toBlocking ( ) . single ( ) . body ( ) ; |
public class ModelBrowser { /** * Add a child resource
* @ param address
* @ param isSingleton */
public void onPrepareAddChildResource ( final ModelNode address , final boolean isSingleton ) { } } | _loadMetaData ( address , new ResourceData ( true ) , new Outcome < ResourceData > ( ) { @ Override public void onFailure ( ResourceData context ) { Console . error ( "Failed to load metadata for " + address . asString ( ) ) ; } @ Override public void onSuccess ( ResourceData context ) { if ( isSingleton && context . d... |
public class If { /** * Get the result .
* @ return
* @ throws NoSuchElementException If there is no result be set . */
public T result ( ) throws NoSuchElementException { } } | if ( result == NULL_RESULT ) { if ( parent != null ) { return parent . result ( ) ; } throw new NoSuchElementException ( "There is no result" ) ; } return result ; |
public class SequenceUtil { /** * Check whether the sequence confirms to amboguous protein sequence
* @ param sequence
* @ return return true only if the sequence if ambiguous protein sequence
* Return false otherwise . e . g . if the sequence is non - ambiguous
* protein or DNA */
public static boolean isAmbig... | sequence = SequenceUtil . cleanSequence ( sequence ) ; if ( SequenceUtil . isNonAmbNucleotideSequence ( sequence ) ) { return false ; } if ( SequenceUtil . DIGIT . matcher ( sequence ) . find ( ) ) { return false ; } if ( SequenceUtil . NON_AA . matcher ( sequence ) . find ( ) ) { return false ; } if ( SequenceUtil . A... |
public class StreamEx { /** * Returns a sequential { @ code StreamEx } containing an { @ link Optional }
* value , if present , otherwise returns an empty { @ code StreamEx } .
* @ param < T > the type of stream elements
* @ param optional the optional to create a stream of
* @ return a stream with an { @ code ... | return optional . isPresent ( ) ? of ( optional . get ( ) ) : empty ( ) ; |
public class DataSourceProcessor { /** * All the sub - level attributes .
* @ param name the attribute name .
* @ param attribute the attribute . */
public void setAttribute ( final String name , final Attribute attribute ) { } } | if ( name . equals ( "datasource" ) ) { this . allAttributes . putAll ( ( ( DataSourceAttribute ) attribute ) . getAttributes ( ) ) ; } else if ( this . copyAttributes . contains ( name ) ) { this . allAttributes . put ( name , attribute ) ; } |
public class IntegrationAccountAssembliesInner { /** * Get the content callback url for an integration account assembly .
* @ param resourceGroupName The resource group name .
* @ param integrationAccountName The integration account name .
* @ param assemblyArtifactName The assembly artifact name .
* @ throws I... | return listContentCallbackUrlWithServiceResponseAsync ( resourceGroupName , integrationAccountName , assemblyArtifactName ) . toBlocking ( ) . single ( ) . body ( ) ; |
public class Segment { /** * Truncates entries after the given index .
* @ param index The index after which to remove entries .
* @ return The segment .
* @ throws IllegalStateException if the segment is not open */
public Segment truncate ( long index ) { } } | assertSegmentOpen ( ) ; Assert . index ( index >= manager . commitIndex ( ) , "cannot truncate committed index" ) ; long offset = relativeOffset ( index ) ; long lastOffset = offsetIndex . lastOffset ( ) ; long diff = Math . abs ( lastOffset - offset ) ; skip = Math . max ( skip - diff , 0 ) ; if ( offset < lastOffset ... |
public class SRTServletRequest { /** * Save the state of the parameters before a call to include or forward . */
public void pushParameterStack ( ) { } } | if ( TraceComponent . isAnyTracingEnabled ( ) && logger . isLoggable ( Level . FINE ) ) { // 306998.15
logger . logp ( Level . FINE , CLASS_NAME , "pushParameterStack" , "entry" ) ; } if ( WCCustomProperties . CHECK_REQUEST_OBJECT_IN_USE ) { checkRequestObjectInUse ( ) ; } SRTServletRequestThreadData reqData = SRTServl... |
public class sdx_backup_restore { /** * < pre >
* Use this operation to Restore .
* < / pre > */
public static sdx_backup_restore restore ( nitro_service client , sdx_backup_restore resource ) throws Exception { } } | return ( ( sdx_backup_restore [ ] ) resource . perform_operation ( client , "restore" ) ) [ 0 ] ; |
public class JobMaster { /** * Suspending job , all the running tasks will be cancelled , and communication with other components
* will be disposed .
* < p > Mostly job is suspended because of the leadership has been revoked , one can be restart this job by
* calling the { @ link # start ( JobMasterId ) } method... | validateRunsInMainThread ( ) ; if ( getFencingToken ( ) == null ) { log . debug ( "Job has already been suspended or shutdown." ) ; return Acknowledge . get ( ) ; } // not leader anymore - - > set the JobMasterId to null
setFencingToken ( null ) ; try { resourceManagerLeaderRetriever . stop ( ) ; resourceManagerAddress... |
public class DependenciesImpl { /** * / * ( non - Javadoc )
* @ see com . ibm . jaggr . service . config . IConfigListener # configLoaded ( com . ibm . jaggr . service . config . IConfig , long ) */
@ Override public synchronized void configLoaded ( IConfig config , long sequence ) { } } | String previousRawConfig = rawConfig ; rawConfig = config . toString ( ) ; if ( previousRawConfig == null || ! previousRawConfig . equals ( rawConfig ) ) { processDeps ( validate , false , sequence ) ; validate = false ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.