title: Find all match in firebase real time database
body: <p>Hello please I need search in database in firebase all  appearance with  one parameter and write it on display or save in object. (if save in object I can process it)</p>
  
  <p>My database looking</p>
  
  <p><a href="https://i.stack.imgur.com/cZctZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cZctZ.png" alt="My data"></a></p>
  
  <p>And i need get all match  mDatabaseReference.child("horse").child(kon.getUid()).child("plemeno") with "Hnedy" </p>
  
  <p>and save somewhere. or process write on display and search second.</p>
  
  <p>I don't know why... </p>
  
  <p>Thanks. </p>
  
  <p>If I need run over all database for search or it's simply here. </p>
  
  <p>Please give me all advice I select best for me. </p>
  
  <p>If you need more info please write, but I don't know how you need.</p>
  
  <p>..I would not know what to say</p>
  
  <p>////////////////////////////////////////////////</p>
  
  <p>for first I write on display all databse with thise code.. </p>
  
  <pre><code>private void addEventFirebaseListener() {
      //Progressing
      circular_progress.setVisibility(View.VISIBLE);
      list_data.setVisibility(View.INVISIBLE);
  
      mDatabaseReference.child("horse").addValueEventListener(new ValueEventListener() {
          @Override
          public void onDataChange(DataSnapshot dataSnapshot) {
              if(list_kone.size() &gt; 0)
                  list_kone.clear();
              for(DataSnapshot postSnapshot:dataSnapshot.getChildren()){
                  Kon kon = postSnapshot.getValue(Kon.class);
                  list_kone.add(kon);
              }
              ListViewAdapter adapter = new ListViewAdapter(All.this,list_kone);
              list_data.setAdapter(adapter);
  
              circular_progress.setVisibility(View.INVISIBLE);
              list_data.setVisibility(View.VISIBLE);
          }
  
          @Override
          public void onCancelled(DatabaseError databaseError) {
  
          }
      });
  }
  </code></pre>
  
  <p>but I thing so it's no important for search</p>